SMART datagrid v.1 > Classes > GridBase

[ grids ver.1.3.2]   Back  Forward

DataLudi.GridBase.onDataCellClick  event

It will be fired if run mouse down in data cell. 

If run mouse down/up in the same data cell, onDataCellClicked event will be fired. 

function onDataCellClick (grid: GridBase, index: CellIndex);
Returns
Void
Parameters
grid - GridBase.
index - CellIndex.
Code -1
    grid.onDataCellClick = function (grid, index) {
        console.log('data cell click: ' + index.column.name() + ', ' + index.rowIndex);
    };
See Also
onDataCellClicked
onDataCellDblClicked
onCurrentChanging
onCurrentChanged
Examples
Hello Grid
Focused Cell