unselects a previously selected item
remove(id?: string | number): boolean;
Parameters:id: string | number
- optional, the id of an itemtrue
if an item is unselected; otherwise, false
.
Example
component.selection.remove("1"); // -> true
note
The method can be used in the DataView, List, Tree components.
Starting from v7.0, the method unselects all previously selected items when calling without parameters:
component.selection.remove();
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4