I am using ExtJS 6.2.0 to select dom elements by their CSS classes (meaning all the mentioned classes should be styling the element to be selected) like so :
Ext.select('.x-btn-button .headerButtonsCls').removeCls("theme");
But it's not working.
How to do it properly instead ? Thanks
Try the following:
Ext.select('.x-btn-button.headerButtonsCls').each(item => {
item.removeCls('theme');
});