How to hide several dynamic columns from the export?
How to hide several dynamic columns from the export?

I have a datatable built dynamically, columns may vary based on parameters.
but the latest columns are always links to modify, delete, duplicate, ... actions. (number of actions are also dynamic)
I want to export all visible columns but not the latest ones.
How can I solve this case?
Thanks.
This discussion has been closed.
Answers
See if this Export Column Selector example helps. Note the choices you have for
column-selector
maybe you can find one that will help remove the "latest" columns.Kevin
Thank you for your help but I can't find the way to remove those columns. Any other idea?
Maybe add a classname to those columns and use something like
":not(.my-classname)"
.Or use column numbers. If this doesn't help please build a test case showing an example of what you have so we can provide more specific ideas.
Kevin