SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.onCurrentChanged  event

It will be fired when Location of Cell which has input focus is changed. 

onCurrentChanging event will be fired just before the change. 

function onCurrentChanged (grid: GridBase, newIndex: CellIndex);
Returns
Void
Parameters
grid - GridBase.
newIndex - CellIndex.
Note
Code -1
    grdMain.onCurrentChanged = function (grid, newIndex) {
        $('#currRow').text(newIndex.rowIndex);
        #('#currCol').text(newIndex.column.name());
    };
See Also
onCurrentChanging
CellIndex
Examples
Focused Cell