Hide footer on selection in buttons along with header and column

Hide footer on selection in buttons along with header and column

harish01harish01 Posts: 6Questions: 1Answers: 0

HI,
I am trying to hide column in datatable on selection.I am able to hide Header and column ,but not footer

Answers

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    Hi @harish01 ,

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

  • harish01harish01 Posts: 6Questions: 1Answers: 0

    HI @colin ,
    Thank you for the reply

  • harish01harish01 Posts: 6Questions: 1Answers: 0

    https://jsfiddle.net/wq9arvoj/

    here is the fiddle

  • colincolin Posts: 15,146Questions: 1Answers: 2,586

    Hi @harish01 ,

    That's a lot of code, and it's not running.

    Have you just tried a click event which calls column().visible(), that would be fairly simple to implement.

    Cheers,

    Colin

This discussion has been closed.