SMART datagrid v.1 > Classes > ColumnGroup

Back  Forward

DataLudi.ColumnGroup.first  property

Return the first ValueColumn object among the displayed child columns. If horizontal layout, the leftmost, and if vertical, the uppermost ValueColumn will be the first one. If visibleCount is 0, it will return null

Getter
function first(): GridColumn
Code -1
    var group = grid.columnByName('group1');
    var column = group.first();
    if (column) {
        column.setVisible(false);
    }
See Also
last
visibleCount
getVisibleItem
ValueColumn
GridColumn
Examples
Column Grouping
Column Visibility