hasCss

checks if item has specific css class

boolean hasCss(id id,string css);
ididitem id
cssstringname of css class that needs to be checked
booleanreturns true if such css class was set

Example

list.hasCss(12, "xw_second");

Back to top
If you have not checked yet, be sure to visit site of our main product Webix javascript dashboard framework and page of tree visualization javascript product.