ISharePointTreeViewFieldMapping
@spartanfx/react v1.2.2
@spartanfx/react / spfx / ISharePointTreeViewFieldMapping
Interface: ISharePointTreeViewFieldMapping
Field mapping for the SharePoint TreeView adapter.
Properties
| Property | Type | Description |
|---|
id? | string | Item id field. Default 'Id' (lists) / 'ID' (libraries via render stream). |
label? | string | Display label field. Default 'Title' (list) / 'FileLeafRef' (library). |
parentId? | string | Parent reference field for 'parentId' mode — typically a self-lookup column on the list. Required in 'parentId' mode. |
parentIsLookup? | boolean | Whether parentId is a lookup column (expanded to read its Id). Set false for a plain number/text column. Default true. |
path? | string | Path field for 'path' mode. Default 'FileRef' (document library). |