SMART datagrid v.1 > Classes > GridBase
DataLudi.GridBase.onDescendantRowCountChanged event
当descendantRowCount发生变更时,将会触发这个事件
function onDescendantRowCountChanged (grid: GridBase, newCount: Integer, oldCount: Integer);
- Returns
- Void
- Parameters
- grid - GridBase.
- newCount - Integer.
- oldCount - Integer.
Code -1
grid.onDescendantRowCountChanged = function (grid, newCount, oldCount) {
console.log('descendant row count changed: ' + newCount);
};
- See Also
- descendantRowCount
- descendantDataCount
- rowCount
- onRowCountChanged
- onDescendantDataCountChanged
- Examples
- 行计数
- 树行计数