SMART datagrid v.1 > Classes > GridDataSet

Back  Forward

DataLudi.GridDataSet.onRowInserted  event

It will be fired after inserting the data row. 

After firing this event, onRowCountChanged event will be fired. And, just before inserting, onRowInserting event will be fired. 

function onRowInserted (ds: GridDataSet, row: Integer);
Returns
Void
Parameters
ds - GridDataSet.
The data set.
row - Integer.
The number of data row which has been newly added.
Code -1
    ds.onRowInserted = function (ds, row) {
        console.log("New row is added at " + row);
    }
See Also
onRowCountChanged
onRowInserting
insertRow
appendRow
Examples
Grid Data Set Edit