SMART datagrid v.1 > Classes > RowGroup

Back  Forward

DataLudi.RowGroup.headerStatement  property

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".

Getter
function headerStatement(): String
Setter
function setHeaderStatement(value: String)
Table-1  statement variables
fillModeExplanation
'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.
Code -1
    grid.rowGroup().headerStatement("${groupColumn}: - ${rowCount} rows".)
See Also
headerTextCallback
Statement Overview
Examples
Row Grouping