RealGrid2 API
Interface
GroupingOptions

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

PropertyTypeDescription
commitBeforeCollapseboolean
commitBeforeExpandboolean
commitBeforeGroupingboolean
enabledbooleanWhether to enable grouping
expandWhenGroupingbooleanWhether to expand the group when grouping
fixMergedColumnsboolean(ALPHA) Whether to fix merged columns
promptstringMessage to be displayed on panel
summarizingboolean(ALPHA)
toastToastOptionsToast-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