SMART datagrid v.1 > Classes > GridBase

[ grids ver.1.3.6]   Back  Forward

DataLudi.GridBase.onDisplayRowCountChanged  event

It will be fired when the number of grid rows being displayed in the current screen, that is, displayRowCount is changed. 

function onDisplayRowCountChanged (grid: GridBase, newCount: Integer, oldCount: Integer);
Returns
Void
Parameters
grid - GridBase.
newCount - Integer.
oldCount - Integer.
Code -1
    grid.onDisplayRowCountChanged = function (grid, newCount, oldCount) {
        console.log('Display row count changed: ' + newCount);
    };
See Also
displayRowCount
rowCount
onRowCountChanged
Examples
Row Counts
Tree Row Counts