SMART datagrid v.1 > Classes > GridBase

Back  Forward

DataLudi.GridBase.onScrollToBottom  event

It will be fired when the location of Focused Row has reached the last row. 

You can implement in the way of additionally loading the data set within this event handler. 

function onScrollToBottom (grid: GridBase);
Returns
Void
Parameters
grid - GridBase.
Code -1
    grid.onScrollToBottom = function (grid) {
        if (dataset.rowCount() < maxRows) {
            // load data...
        }
    }
See Also
focusedIndex
focusedRowIndex
topIndex
Examples
Lazy Data Loading