DataGrid.getVisibleRows

Overview | Methods | Fields | This Package | All Packages

DataGrid.getVisibleRows

Retrieves the number of visible rows in the grid's current scroll position.

Syntax

public int getVisibleRows()

Return Value

Returns the number of rows that are at least partially displayed in the grid's current scroll position.

Exceptions

WFCInvalidArgumentException thrown if the DataGrid control is not bound.

Remarks

To retrieve the approximate number of rows in the entire grid, call getApproxRowCount.

See Also   getVisibleColumns