AllowEmptySelection: Boolean;
The AllowEmptySelection property determines whether zero selection is available.
Use the setAllowEmptySelection method to set the property value, and the getAllowEmptySelection method to get the property value.
Executing the example requires the SimpleTreeList component with the Tree identifier (see Example of Creating the SimpleTreeList Component).
// Allow zero selection Tree.setAllowEmptySelection(false);
After executing the example mandatory selection of at least one element is set.
See also: