clearSelectedItems()
Deselect all the previously selected Items in the Item list view.
You would want to use this method so that you can build a custom list selection UI in your application, for example.
Important
The enable_selection
initialization option must be set to true
for this method to function.
Examples
authorApp.clearSelectedItems();
Arguments
None.
Return value
booleanReturns true
if one or more Items were deselected, otherwise returns false
.
Related articles
- The
enable_selection
initialization option, which allows authors to select multiple Items in the Item list view. - The
getSelectedItems()
method, which gets the selected Items in the Item list view.