Skip to main content

TreeViewHierarchyMode

@spartanfx/react v1.2.2


@spartanfx/react / index / TreeViewHierarchyMode

Type Alias: TreeViewHierarchyMode

type TreeViewHierarchyMode = "parentId" | "path";

Hierarchy model used by the TreeView data adapters (SharePoint / Dataverse).

  • 'parentId': each item references its direct ancestor — a SharePoint list self-lookup or a Dataverse self-referential lookup.
  • 'path': the hierarchy is encoded in a path string — a SharePoint document library, where there is no parent/child lookup.