Returns an integer value which represents the row index of the first currently visible row within the DataGrid object.
DataGridObject.GetFirstVisibleRow()
Newlook Smartclient only.
This method takes into account the current vertical scrolling position of the DataGrid and can be used to determine which rows of a DataGrid control are visible at any point in time.
For a grid with 10 rows, if a user had scrolled down so that only the last 8 rows were showing, the first visible row would now be the 3rd one, in which case this method would return 2 (row indexes are zero based).
None.
This method returns an integer value representing the row index of the first visible row
The following example saves the index of the first visible row as a newlook variable: JSCRIPT:function ReturnFirstRow() {
} |
© 2004-2021 looksoftware. All rights reserved.