DataGrid.getVisibleColumns

Overview | Methods | Fields | This Package | All Packages

DataGrid.getVisibleColumns

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

Syntax

public int getVisibleColumns()

Return Value

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

Remarks

To retrieve the total number of columns in the grid, call getColumnCount.

See Also   getVisibleRows