Readonly
clientReadonly
internalThe parent of an object allowing you to easily navigate during debugging
The index of the active column which is first in view (either on left or right depending on Grid alignment)
The number of pixels that the scroll anchored column is offset. Changes to allow smooth scrolling
Gets the index of the last row that can be scrolled to in the view. Ensures that vertical computations are performed outside of the animation frame before returning the value.
The index of the last scrollable row, or undefined
if not available.
Gets the subgrid row index of the last scrollable row.
Ensures that vertical computations are up-to-date before accessing the value.
Returns undefined
if there is no last scrollable row, otherwise returns the
corresponding subgrid row index.
The row to goto for a page down.
The row to go to for a page up.
Ensures that both the specified column and row are visible within the viewport. If either the column or row is not currently in view, adjusts the viewport to bring them into view.
The index of the active column to ensure is visible.
The index of the row in main subgrid to ensure is visible.
If true, attempts to maximize the visibility of the column and row within the viewport.
true
if the viewport start position was changed to bring the column or row into view; otherwise, false
.
Ensures that the specified row index is visible within the viewport of the grid. If the row is within the fixed rows, no scrolling occurs. Otherwise, the method scrolls the grid to bring the row into view, considering whether the scrolling should be maximal (i.e., align the row at the top of the viewport) and handling edge cases where the viewport size is not an exact multiple of the row height.
The index of the row in the main subgrid to ensure is visible.
If true
, ensure the row is fully in view; otherwise do not scroll if it is already partially visible.
true
if scrolling was performed to bring the row into view; false
otherwise.
Get the "visible column" object matching the provided grid column index.
The grid column index.
The given column if visible or undefined
if not.
Get cell at offset position on canvas.
x position on canvas.
y position on canvas.
Cell at co-ordinate or undefined if none.
the index of the column whose edge is closest to the coordinate at pixelX
The horizontal coordinate.
The column index under the coordinate at pixelX.
Grid column coordinate.
Grid row coordinate.
Bounding rect of cell with the given coordinates.
Number of columns we just rendered.
The rendered row height at index
The rendered column width at index
Answer how many rows we rendered
Current vertical scroll value.
Matrix of unformatted values of visible cells.
Get the "visible row" object matching the provided data row index.
The data row index within the given subgrid.
The given row if visible or undefined
if not.
Get the "visible row" object matching the provided grid row index.
The grid row index.
The given row if visible or undefined
if not.
The last col was rendered (is visible)
Index of active column that should be anchor
true if changed
Get the "visible column" object matching the provided data column index.
The grid column index.
A unique string allowing you to identify different instances