raj chaudhary
Hi,
I am using table control and using addClass to hide table columns. However, I am unable tot find removeClass so that user can remove the css class if he wants to.
Could you please help us on how we can remove css class from controls.
Thanks
Raj
raj chaudhary
Got the answer. I can do table1.addClass(“”,”HideCol1″) to remove.
Thanks
SPARK Support
Hi Raj,
Yes. That is how we utilize the addClass() method to replace the class with a blank.
Regards,
Stephen P.
Martin Lorenz
You can try this:
this.ui.get('ID_TABLE_CONTROL').context.element.classList.remove('REMOVE_CLASS_NAME');