MobileForms Toolkit Documentation

SmartGrid.LoadAdditionalRows Method 

Load specified additional amount of rows.

public int LoadAdditionalRows(
int iAmount
);

Parameters

iAmount
The amount of rows that should be loaded.

Return Value

The amount of rows that were actually loaded. 0 indicates that there are no more rows to load.

Remarks

Method loads additional rows either from the DataSource or from DbConnector - whichever was used to populate SmartGrid. The method is only relevant, if SmartGrid's DelayLoad is used. It forces SmartGrid to continue loading additional rows. The iAmount parameter specifies the maximum rows that will be loaded. If there are less than iAmount of rows left, method loads the remaining rows only.

See Also

SmartGrid Class | Resco.Controls.SmartGrid Namespace