isSelected
checks whether the specified item is selected or not
boolean isSelected(id id);
| id | id | the id of the item in question |
| boolean | true if the specified item is selected, otherwise - false |
Example
webix.ui({
view:"dataview",
id:"data",
...
});
$$('data').select(2); //selects an item with the id=2
$$('data').isSelected(2); //-> 'true'
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix
best ui framework and page of
tree ui product.