Skip to content

GetChildRowsParams

Parameters for fetching child rows of a parent node.

The context is opaque — provided by the requesting plugin and passed through to the user’s getChildRows callback verbatim. Each plugin sets a source discriminator so listeners can filter incoming child events.

Known context shapes:

  • Tree: { source: 'tree', parentNode: TreeRow, nodePath: string[] }
  • GroupingRows: { source: 'grouping-rows', group: GroupDefinition, groupPath: string[] }
  • MasterDetail: { source: 'master-detail', row: TRow, rowIndex: number }

Child rows are fetched as a single batch — no pagination.

PropertyTypeDescription
sortModel?object[]Active sort columns, in priority order. Empty array when unsorted.
filterModel?Record<string, unknown>Active filter model keyed by field name. Empty object when no filters are applied.
contextobjectOpaque context from the requesting plugin. Contains a source discriminator string and plugin-specific fields. ServerSide does not interpret this object.
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