Hierarchy Selector Widget
- Last UpdatedNov 15, 2023
- 1 minute read
The Hierarchy Selector widget allows you to navigate to a multi-level dataset, and select a particular item class or category depending on the dataset you use it with.
This widget has a parent-child structure and requires a minimum of 2 levels. It accommodates the highest to the lowest level of data, where the parent node or highest level item can have another level of data.
With this widget, you can configure:
-
The widget title, header, and the parent-child node section captions
-
Color for selected parent and child nodes
Properties
The Hierarchy Selector widget uses the following properties and defines them as a function in a configuration file. For information on how the properties are used in the configuration file, see Hierarchy Selector Widget Properties Usage.
The following table lists the supported Hierarchy Selector properties and the type of data it accepts.
|
Property |
Supported Datatype |
|---|---|
|
Data |
Object |
|
Selected Object |
Object |
|
Selected Value |
This depends on the type of the returned property, which is defined in the nodesMapping or defaultNodesMapping section of the configuration file. The returned value is converted to a JSON string. |