GetRowsResult
Result returned from ServerSideDataSource.getRows.
Example
Section titled “Example”// Known total (pagination-style)return { rows: pageData, totalNodeCount: 5000 };
// Infinite scroll — set lastNode when the final page is reachedreturn { rows: pageData, totalNodeCount: -1, lastNode: absoluteLastIndex };Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
rows | TRow[] | The fetched top-level node objects for the requested range. |
totalNodeCount | number | Total number of top-level nodes available on the server. Use -1 if unknown (infinite scroll mode). |
lastNode? | number | The absolute index of the last available node. Only needed for infinite scroll when totalNodeCount is -1. Once the server returns the final page, set this so the grid knows scrolling has reached the end and stops requesting further blocks. |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt