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.
mominazhar
Posts: 3Questions: 1Answers: 0
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
Are you asking for something like this example?
Kevin
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>
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