Individual Buttons for Column Visibility?
Individual Buttons for Column Visibility?
![janetcl](https://secure.gravatar.com/avatar/fc92d5d07d6cbe4d54d37f0edc1e8bd0/?default=https%3A%2F%2Fvanillicon.com%2Ffc92d5d07d6cbe4d54d37f0edc1e8bd0_200.png&rating=g&size=120)
Hi, is there an option for individual buttons for column visibility? Rather than the entire "colvis" buttons collection. I would like to distinguish between each button and assign unique classes to each of them. Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Yes - see this example.
Allan
Sorry, I should have clarified. I meant is there a way to access each column's button? I would like to trigger a unique event for each button that is pressed, so I would need to distinguish between each column's button.
Yes, there is the
button-action
event. But in this case you are probably better off listening forcolumn-visibility
.Allan