Dynamic column names in "colvis buttons"
Dynamic column names in "colvis buttons"

Is it possible to change column name in colvis?
I found a way to change table header on click, but how to change title in colvis list?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I've tried this:
this is a bit hacky, but works.
Maybe someone know how to do this 'official way'.
Hope I helped
Thanks! This works for me.
That's really hacky and requires you to manually set every single title. What happened to the
label
callback function described here: https://www.datatables.net/extensions/colvis/options ?Note that I have looked at https://datatables.net/reference/button/colvis and don't see the callback function, so I'm wondering if it's not documented, missing, or if there's another way to accomplish this