SMART datagrid v.1 > Classes > GridDataSet

Back  Forward

DataLudi.GridDataSet.onRowsInserted  event

It will be fired after inserting the rows as much as count from row row location by insertRows

Before inserting the rows, onRowsInserting will be fired, and after firing this event, onRowCountChanged event will be fired. 

function onRowsInserted (ds: GridDataSet, row: Integer, count: Integer);
Returns
Void
Parameters
ds - GridDataSet.
The data set.
row - Integer.
The number of data row which has started being added.
count - Integer.
The number of added row.
Code -1
    dataset.onRowsInserted = function (ds, row, count) {
        alert(count + " rows have been inserted.");
    }
See Also
onRowCountChanged
insertRows
onRowsInserting
onRowInserted
Examples
Grid Data Set Edit