When responsive is set to true, it there a way to print/export all columns as columns?
When responsive is set to true, it there a way to print/export all columns as columns?
m_tsatsaroni
Posts: 7Questions: 3Answers: 0
I need to print all columns visible in a datatable,
even if they are in child rows (when viewing datatable in small screen).
Keep in mind i do not want them to show in print mode as child rows, but as columns.
Is that possible?
I can not hardcode them at datatable initiliazation using column selector, since i am using buttons to hide/show columns
dynamically...
Answers
This answered my simple question:
https://datatables.net/forums/discussion/60732/export-data-hidden-by-responsive-whilst-avoiding-columns-hidden-by-colvis