Remove css class from label.

I define a css class for label . In one of the scenario I want to remove my css class from label. can you give some sample code for this one.

example :-- global_root.$$(‘Name’).define(‘css’, ‘t02’)

Use webix.html.addCss and webix.html.removeCss instead of define():

http://webix.com/snippet/80ae03bf

instead of defined(); if I use the addCss method .then its give some error message.
Message: Object doesn’t support property or method ‘addCss’ same thing happened when I use removeCss also.

Check the above snippet, the same code work there.
Are you using the same js code ?

if in above code if i change the view:“text” then its not working.for text box how to remove the css .can you please suggest something. because that is my requirement.

You can use the same approach, just a bit more specific css class

http://webix.com/snippet/6e11ffc8

Is there also away to check if a css class is used before trying to remove it?

You could check yourself if needed: https://snippet.webix.com/d5ix200l