SMART datagrid v.1 > Classes > DataSet
DataLudi.DataSet.onRowCountChanged event
当添加、删除等数据组的所有行的数量发生变更时,将会触发这个事件。
function onRowCountChanged (ds: DataSet);
- Returns
- Void
- Parameters
- ds - DataSet.
Code -1
ds.onRowCountChanged = function (ds) {
alert('Row count changed: ' + ds.rowCount());
};
- See Also
- rowCount
- onDataChanged
- GridDataSet.onRowInserted
- GridDataSet.onRowsInserted
- GridDataSet.onRowDeleted
- GridDataSet.onRowsDeleted
- Examples
- 设置数据行
- 设置行计数
- 网格数据组编辑