Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.