Retrieves the y-coordinate at the top of the specified row.
public int rowTop( Object row )
row
The bookmark associated with a row in the grid.
Returns the y-coordinate at the top of the row, relative to the coordinates of the DataGrid control.
WFCInvalidArgumentException thrown if row does not reference a valid row.
The rowTop method returns a coordinate for any row in the grid, regardless of whether the row is visible in the grid's current scroll position. If the row lies before the set of currently visible rows, the returned coordinate is negative.
You can use the rowTop method and rowHeight property, along with the left and width properties of a column, to determine the exact location and dimension of any cell in the grid.