DataGrid.getApproxRowCount

Overview | Methods | Fields | This Package | All Packages

DataGrid.getApproxRowCount

Retrieves the approximate number of rows in the DataGrid control.

Syntax

public int getApproxRowCount()

Return Value

Returns the approximate number of rows in the grid.

Exceptions

WFCInvalidArgumentException thrown if the DataGrid control is not bound.

Remarks

The value returned by getApproxRowCount is used to calibrate the vertical scroll bar.