SMART datagrid v.1 > Classes > GridDataSet
DataLudi.GridDataSet.onRowsMoved event
从row行位置,将相当于count的行移动到newRow位置之后,将会触发这个事件。
在移动之前,将会触发onRowsMoving事件。
function onRowsMoved (ds: GridDataSet, row: Integer, count: Integer, newRow: Integer);
- Returns
- Void
- Parameters
- ds - GridDataSet.
数据组。
- row - Integer.
已开始移动的数据行号。
- count - Integer.
已被移动的行数。
- newRow - Integer.
已被移动的位置的行号。
Code -1
dataset.onRowsMoved = function (ds, row, count, newRow) {
alert(count + "个行已被移动到" + newRow + "的位置。");
}
- See Also
- onRowsMoving
- Examples
- 网格数据组编辑