Skip to content

Commit 543bcb4

Browse files
authored
Document summable / showTotals
Documents wintercms/winter@b6ab161
1 parent 77d2b42 commit 543bcb4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/lists.md

+2
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ Option | Description
7373
`showCheckboxes` | displays checkboxes next to each record. Default: `false`.
7474
`showSetup` | displays the list column set up button. Default: `false`.
7575
`showTree` | displays a tree hierarchy for parent/child records. Default: `false`.
76+
`showTotals` | displays the summed values for the columns in the form of `totalOnPage (totalForQuery)` in the list header and footer. Default: `true`.
7677
`treeExpanded` | if tree nodes should be expanded by default. Default: `false`.
7778
`customViewPath` | specify a custom view path to override partials used by the list, optional.
7879

@@ -161,6 +162,7 @@ Option | Description
161162
`searchable` | include this column in the list search results. Default: `false`.
162163
`invisible` | specifies if this column is hidden by default. Default: `false`.
163164
`sortable` | specifies if this column can be sorted. Default: `true`.
165+
`summable` | specifies if this column can be summed (requires column to be of `type: number`). Default: `true`.
164166
`clickable` | if set to false, disables the default click behavior when the column is clicked. Default: `true`.
165167
`select` | defines a custom SQL select statement to use for the value.
166168
`valueFrom` | defines a model attribute to use for the value.

0 commit comments

Comments
 (0)