SMART datagrid v.1 > Classes > RowGroup
Specify the string which will be displayed in group header by Statement.
In the table below, it explains the variables which can be used in this statement. If set headerTextCallback, this value will be ignored.
Defaults to "${groupField}: ${groupValue} - ${rowCount} rows".
fillMode | Explanation |
---|---|
'groupField' | The Name of this group level criteria field. |
'fieldHeader' | The Header of this group level criteria field. |
'groupColumn' | The Name or header text of the first column which is connected to this group level criteria field. If empty, it will be field name. |
'columnHeader' | The Header text of the first column which is connected to this group level criteria field. If empty, it will be field name. |
'groupValue' | The value of this group level criteria field. |
'rowCount' | The number of descendant data rows of this group header. |
grid.rowGroup().headerStatement("${groupColumn}: - ${rowCount} rows".)