LongListBox.getMultiSelect

Syntax

getMultiSelect();

Description

The getMultiSelect method returns whether there is multiple selection of elements of grouped list.

Comments

The method returns True if multiple selection of grouped list is available, otherwise the value is False.

Example

Executing the example requires the LongListBox component with the longListBox name (see Example of Creating the LongListBox Component). The example must be located in <script> tag. Check availability of multiple selection of elements of the list:

// Check if multiple selection is available in the list
if (longListBox.getMultiSelect()) {
    console.log("Multiple selection is available in the grouped list");
} else {
    console.log("Multiple selection is not available in the grouped list");
}

As a result the console will display the result of check of multiple selection availability:

Multiple selection is not available in the grouped list

See also:

LongListBox