SMART datagrid v.1 > Classes > GridDataSet
DataLudi.GridDataSet.onRowsInserted event
在通过insertRows等而从row行位置插入相当于count的行之后,将会触发这个事件。
在插入行之前,将会触发onRowsInserting,并且在触发这个事件之后,将会触发onRowCountChanged事件。
function onRowsInserted (ds: GridDataSet, row: Integer, count: Integer);
- Returns
- Void
- Parameters
- ds - GridDataSet.
数据组。
- row - Integer.
已开始添加的数据行号。
- count - Integer.
已被添加的行数。
Code -1
dataset.onRowsInserted = function (ds, row, count) {
alert(count + " 个行已被插入。");
}
- See Also
- onRowCountChanged
- insertRows
- onRowsInserting
- onRowInserted
- Examples
- 网格数据组编辑