Option to include all buttons with one click
Option to include all buttons with one click
Using the current Table/Buttons to add buttons to a table can be tedious when adding a lot of tables. It would be nice to have a "Add All Buttons" button that adds them all with one click. Then we could just remove the buttons that we do not want, which would be much faster:
<img src="https://www.dropbox.com/s/n2o7zgbui3pekn9/buttons.png?dl=0">
Replies
One option might be to start with all buttons added when Datatables initializes. Use the
buttons.buttons.className
to add a class name to the buttons you want to hide using a corresponding CSS. Usebuttons().nodes()
with an appropriatebutton-selector
to choose the buttons you want to hide or show.Kevin
That's a nice idea for CloudTables - also to have groupings that can be added in one go for export, editing, etc. I've raised it internally as an enhancement (DD-1462 for my reference) and we'll report back here when there's an update.
Cheers,
Colin