Hi, How i can rename the Column visibility button into custom text like (Manage Column)
Thanks
Use the buttons.buttons.text option:
buttons.buttons.text
new DataTable('#myTable', { layout: { topStart: { buttons: [ { extend: 'colvis', text: 'Manage Columns' } ] } } });
Allan
Hi, How to do this for more than one Button? Datatables is very powerfull! Good job. Best regards
Just set the text option for each button you need:
text
new DataTable('#myTable', { layout: { topStart: { buttons: [ { extend: 'colvis', text: 'Manage Columns' }, { extend: 'csv', text: 'Export CSV' } ] } } });
Thank you Allan.
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Use the
buttons.buttons.text
option:Allan
Thanks
Hi,
How to do this for more than one Button?
Datatables is very powerfull!
Good job.
Best regards
Just set the
text
option for each button you need:Allan
Thank you Allan.