SMART datagrid v.1 > Classes > GridColumn

Back  Forward

DataLudi.GridColumn.index  property

The location of this column among Column Group of containing this column. 

If it is the first column, it will return 0. The top column is the order within root column existing in Grid. If hide or move the columns of grid, this value and Display Order will be different. 

Getter
function index(): Integer
Code -1
    var col = grid.columnByName('colzender');
    if (col.index() > 1) {
        col.setWidth(200);
    }
See Also
displayIndex
visible
parent
group
ColumnGroup
Examples
Column Visibility
Column Grouping
Column Moving