singleSelectionLevels

Selection List Properties and Selection Tree Properties more information on these components.

For a Selection Tree on which the ‘Single Selection’ option is enabled, this property specifies an array of fields for which single (mutually exclusive) selection is applied. Fields that are not included in the array will offer the usual multiple selection.

Type

Array

Example

SelectionTree1.singleSelection = true;
SelectionTree1.singleSelectionLevels = ['Region','City'];

Either syntax below can be used in component script:

singleSelectionLevels                   // unqualified
SelectionTree1.singleSelectionLevels    // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.