isSelected

checks whether the specified item is selected or not

boolean isSelected(id id);
ididthe id of the item in question
booleantrue 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
If you have not checked yet, be sure to visit site of our main product Webix ui widget library and page of context menu javascript product.