Hi, Im trying to understand that how columns visibility is being controlled by options:buttons.

Hi, Im trying to understand that how columns visibility is being controlled by options:buttons.

mominazharmominazhar Posts: 3Questions: 1Answers: 0
edited April 2022 in Free community support

So, the target is to hide a column dynamically from the options. Such that when a column (button) is pressed its visibility is toggled

Answers

  • kthorngrenkthorngren Posts: 21,345Questions: 26Answers: 4,954

    Are you asking for something like this example?

    Kevin

  • mominazharmominazhar Posts: 3Questions: 1Answers: 0
    edited April 2022

    Yes Kevin, im trying to do something like that, so the issue im facing is that my column header is disabling and enabling, but the data below it is not hiding.

    So i need to somehow bind the <td> of my data to the visibility of the column

    something like this <td *ngIf="SOME_CONDITION_HERE" >{{value[0]}}</td>

  • colincolin Posts: 15,240Questions: 1Answers: 2,599

    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

Sign In or Register to comment.