SMART datagrid v.1 > Classes > GridDataSet

Back  Forward

DataLudi.GridDataSet.onRowMoved  event

It will be fired after moving the data row located in row to newRow location. 

Just before moving, onRowMoving event will be fired. 

function onRowMoved (ds: GridDataSet, row: Integer, newRow: Integer);
Returns
Void
Parameters
ds - GridDataSet.
The data set.
row - Integer.
The number of existing row.
newRow - Integer.
The number of row of which location will be moved.
Code -1
    dataset.onRowMoved = function (ds, row, newRow) {
        alert(row + " th row has been moved to " + newRow + ".");
    }
See Also
onRowMoving
moveRow
Examples
Grid Data Set Edit