• raj chaudhary
    September 19, 2017 at 6:45 am #4558

    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
    September 19, 2017 at 6:48 am #4559

    Got the answer. I can do table1.addClass(“”,”HideCol1″) to remove.

    Thanks

    SPARK Support
    September 19, 2017 at 8:03 am #4560

    Hi Raj,

    Yes. That is how we utilize the addClass() method to replace the class with a blank.

    Regards,

    Stephen P.

    Martin Lorenz
    September 20, 2017 at 5:55 am #4567

    You can try this:
    this.ui.get('ID_TABLE_CONTROL').context.element.classList.remove('REMOVE_CLASS_NAME');

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search