SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.getFirstCell  method

Return Cell Index corresponding to First Column of first Data Row. If no data row, it will return the location of first Grid Row

function getFirstCell (): CellIndex;
Returns
CellIndex
Code -1
    var idx = grid.getFirstCell();
    grid.setFocusedIndex(idx);
See Also
DataRow
getFirstColumn
CellIndex
GridRow