Getting visible columns names
Getting visible columns names
artem78
Posts: 7Questions: 5Answers: 0
I`m using colVis plugin. How can I get names of all visible at the moment columns?
This discussion has been closed.
Answers
ColVis is deprecated. Buttons is its replacement.
When you say the "name", do you mean that set by
columns.name
? If so, there isn't a way to do that I'm afraid.Allan
Yes, I mean just that.
You said that it`s impossible, but I found the solution: https://jsfiddle.net/crazzzy/3acbfre2/1/
Very clever - nice one . Thanks for sharing your solution with us.
I'm going to add a
columns().names()
method in future, the current absence of which is what I was referring to above.Allan