View as Markdown

API reference

@salmonui/data-grid/engine/hierarchy

14 exported symbols: 5 functions, 7 interfaces and 2 types. Each name links its page with the signature, docs and members. Names re-exported from another entry point are listed there, linked below.

import { … } from '@salmonui/data-grid/engine/hierarchy';

Functions

  • childRelationFilterThe relation condition (childField equal value).
  • childRowsOfChildren of one relation value, from an index built once per (rows identity, field).
  • createChildDataSourceData source of one child grid. Arrays and local sources are indexed by relation key once per rows identity and read in O(1) per child grid; remote and live sou…
  • createHierarchyModuleCreates the hierarchy module (requires detail). Options are read from options.hierarchy (HierarchyOptions).
  • readFieldReads a dot path (customer.id).

Re-exported entry points