Skip to content

Commit 955b7d6

Browse files
authored
Merge pull request #31 from DHTMLX/tbshag2-patch-2
Update tableshape-property.md
2 parents ef2f3d2 + cb5a151 commit 955b7d6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/api/config/tableshape-property.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ tableShape?: {
2020
operation: string
2121
) => any;
2222
},
23-
totalRow?: boolean,
24-
totalColumn?: boolean,
23+
totalRow?: boolean | "sumOnly",
24+
totalColumn?: boolean | "sumOnly",
2525
marks?: {
2626
[cssClass: string]: ((v: any, columnData: any, rowData: any) => boolean)
2727
| "max"
@@ -54,8 +54,8 @@ tableShape?: {
5454
- `footerHeight` - (optional) the footer height in pixels; the default value is 30
5555
- `colWidth` - (optional) the column width in pixels; the default value is 150
5656
- `tree` - (optional) if set to **true**, enables the tree mode when data can be presented with expandable rows; the default value is **false**; more information with examples see here [Switching to the tree mode](/guides/configuration/#enabling-the-tree-mode)
57-
- `totalColumn` - (optional) enables generating the total column with total values for rows. The default value is **false**;
58-
- `totalRow` - (optional) enables generating the footer with total values (if set to **true**) the default value is **false**
57+
- `totalColumn` - (optional) if **true**, enables generating the total column with total values for rows (**false** is set by default); if the value is set to "sumOnly", the column with the total sum value will be generated (available only for sum operations)
58+
- `totalRow` - (optional) if **true**, enables generating the footer with total values (**false** is set by default); if the value is set to "sumOnly", the row with the total row value will be generated (available only for sum operations)
5959
- `cleanRows` - (optional) if set to **true**, the duplicate values in scale columns are hidden in the table view. The default value is **false**
6060
- `split` - (optional) if set to **true**, fixes the columns from the left, which makes columns static and visible while scrolling; the number of columns that are split is equal to the number of the rows fields that are defined in the [`config`](/api/config/config-property) property.
6161

0 commit comments

Comments
 (0)