Closed rainyhuynh closed 3 years ago
Hey,
I'm not totally sure what's not working. I know passing that selector does work
Here's the effective_datatables code where the custom JS is passed
And here are the front end docs for those html5 buttons:
https://datatables.net/extensions/buttons/examples/html5/simple.html
Hi Matt,
Thank you for your information, let me try.
I want to authorize or not user access Print, Copy, Export Excel buttons.
I try
render_datatable(@datatable, input_js: { buttons_export_columns: ':visible:not(.col-actions)' })
but not working.Can you tell me how to limit that?
Thank you. Rainy.