GroupingOptions
Settings model related to row grouping
Signature:
export interface GroupingOptions
Remarks
Row grouping divides data rows based on the values of one or more specified columns and displays them in a hierarchical structure.
When setting it as an option in Grid, you only need to enter the necessary information.
Example
grid.setGroupingOptions({prompt: "I am Group"});
Properties
Property | Type | Description |
---|---|---|
commitBeforeCollapse | boolean | |
commitBeforeExpand | boolean | |
commitBeforeGrouping | boolean | |
enabled | boolean | Whether to enable grouping |
expandWhenGrouping | boolean | Whether to expand the group when grouping |
fixMergedColumns | boolean | (ALPHA) Whether to fix merged columns |
prompt | string | Message to be displayed on panel |
summarizing | boolean | (ALPHA) |
toast | ToastOptions | Toast-related settings |
Properties Desc
commitBeforeCollapse
Warning: This API is now obsolete.
Commit before group collapse
Type
- boolean
commitBeforeExpand
Warning: This API is now obsolete.
Commit before group expansion
Type
- boolean
commitBeforeGrouping
Warning: This API is now obsolete.
Commit before grouping
Type
- boolean
enabled
Whether grouping is enabled or not
Type
- boolean
expandWhenGrouping
Whether to expand the group when grouping
Type
- boolean
fixMergedColumns
Whether to fix merged columns
Type
- boolean
prompt
Message to be displayed on panel
Type
- string
summarizing
Type
- boolean
toast
Toast-related settings
Type
- ToastOptions