SMART datagrid v.1 > Classes > DataColumn

Back  Forward

DataLudi.DataColumn.groupable  property

If it is true, the user can drag column header to group panel to run row grouping. groupingEnabled of GridBase.operateOptions should also be specified as true

Defaults to true.

Getter
function groupable(): Boolean
Setter
function setGroupable(value: Boolean)
Code -1
    var column = grid.focusedIndex().column;
    if (!column.groupable()) {
        column.setGroupable(true);
    }
See Also
groupLevel
GridView.groupBy
GridBase.operateOptions
OperateOptions.groupingEnabled
Examples
RowGrouping