SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.getVisibleColumn  method

Return Column object of the location specified by index among the top columns being displayed in grid. If index is less than 0 or greater than the total number of columns being displayed, it will throw an exception.  

Code -1
    var col = grid.getVisibleColumn(0);
    if (col) {
        col.setWidth(col.width() * 2);
    }    
See Also
visibleColumnCount
GridColumn
ColumnGroup