2
I’m using the DataTables
for display and export of my tables,
one of the types of datatables I use and this one:
https://datatables.net/extensions/colreorder/examples/integration/colvis.html
I wonder if it is possible to define at startup which columns should be omitted and then optionally display them through the button?
Example: I have a table with the following columns
Name,Position,Office,Age,Start date,Salary
And I wish only the columns would appear Name,Position,Salary
, and the others only appeared when I clicked the button.
the same event you call to hide or show the columns you call in the screen rendering and tells which columns you :)
– Marco Souza
would be able to show me how to do it @Marconciliosouza
– Tulio Vieira
https://datatables.net/examples/basic_init/hidden_columns.html
– Caique Romero
in this case @Caiqueromero has no way to display the columns that are hidden I need you to have the same display option in the example I passed
– Tulio Vieira