SMART datagrid v.1 > Classes > GridDataSet
Move the values of data rows as much as count from row location to newRow row location. If row or newRow is beyond the range, it will throw RangeError exception.
var row = grid.focusedDataRow();
if (row && row.dataIndex() < ds.rowCount() - 10) {
ds.moveRow(row.dataIndex(), 10, row.dataIndex() + 10);
}