SMART datagrid v.1 > Classes > CellIndex

Back  Forward

DataLudi.CellIndex.group  property

If the column corresponding to the cell of this location is column group, it will be Column Group object, else will be null. 

The columns which are not column group all inherit ValueColumn, and can be known by valueColumn property. 

Getter
function group(): ColumnGroup
Setter
function setGroup(value: )
Code -1
    $('#expand').click(function () {
        var group = grid.focusedIndex().group();
        if (group) {
            group.expand();
        }
    });
See Also
valueColumn
dataColumn
ColumnGroup
ValueColumn
Examples
Focused Cell