DataGrid.setFirstRow

Overview | Methods | Fields | This Package | All Packages

DataGrid.setFirstRow

Sets the topmost visible row in the grid.

Syntax

public void setFirstRow( Object row )

Parameters

row

The bookmark associated with the row to be displayed as the topmost row.

Exceptions

WFCInvalidArgumentException thrown if the DataGrid control is not bound or if row does not refer to a valid row.

Remarks

Calling setFirstRow causes the grid to scroll so that the specified row becomes the topmost row. Note that the current row remains unchanged. To change the current row, call setCurrentRow.

See Also   getFirstRow