Set default button groups hidden
Set default button groups hidden
I've found the Datatables buttons that can be used to control which groups of columns are visible. Is it possible to set a default? For example, to use the sample given here: https://datatables.net/extensions/buttons/examples/column_visibility/columnGroups.html would it be possible to default to "Office Info" on page load?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Use the
columns.visible
option. The column visibility buttons will automatically react to that.Allan
Of course, thank you.