firstRow( )
Topic group Related topics Example
Returns a bookmark for the row currently displayed in the first row of the grid.
Syntax
<oRef>.firstRow( )
<oRef>
A reference to a grid object.
Property of
Grid
Description
Calling the firstRow( ) method returns a bookmark to the row currently displayed on the grid's first, or top, row. If the grid is not datalinked to any rowset, the firstRow( ) method returns null.
The firstRow( ) method can be used to preserve, and later return to, the top displayed row in the grid. Use a rowset's goto( ) method to position a rowset to a previously bookmarked row (see example).