hasCss

checks if item has specific css class

boolean hasCss(id id,string css);

Parameters

ididitem id
cssstringname of css class that needs to be checked

Returns

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 easy javascript framework and page of javascript dataview product.