SMART datagrid v.1 > Classes > GridDataSet

Back  Forward

DataLudi.GridDataSet.onRowsMoved  event

It will be fired after moving the rows as much as count from row row location to newRow location. 

Just before moving, onRowsMoving event will be fired. 

function onRowsMoved (ds: GridDataSet, row: Integer, count: Integer, newRow: Integer);
Returns
Void
Parameters
ds - GridDataSet.
The data set.
row - Integer.
The number of data row which has started being moved.
count - Integer.
The number of moved row.
newRow - Integer.
The number of row of which location has been moved.
Code -1
    dataset.onRowsMoved = function (ds, row, count, newRow) {
        alert(count + "rows have been moved to " + newRow + " location.");
    }
See Also
onRowsMoving
Examples
Grid Data Set Edit