getStateOfView
returns details about current grid state
array getStateOfView();
array | details about current grid state |
Example
var state=myTreeGrid.getStateOfView();
Details
If the paging mode is enabled:
- state[0] = the number of the currently active page
- state[1] = the index of the top row on the page
- state[2] = the index of the last row on the page
- state[3] = the number of rows in the grid
If the paging mode is disabled:
- state[0] = the index of the top visible row
- state[1] = the height of the visible area in rows
- state[2] = the number of rows in the grid
Back to top