SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.onUpdateStarted  event

It will be fired just after the user starts cell editing or calls edit to normally start row updating. 

Just before row updating, onUpdating event will be fired. 

And, if throw an exception within this event handler, it will cancel row editing. v 1.3.8 

function onUpdateStarted (grid: GridBase, row: GridRow);
Returns
Void
Parameters
grid - GridBase.
row - GridRow.
Code -1
    grdMain.onUpdateStarted = function (grid, row) {
        console.log('Row upadte started at ' + row.index());
    }
See Also
edit
onUpdating
onInserting
onDeleting
Examples
Row Updating
Row Inserting
Row Deleting
Edit Events
Edit Keys