Adding custom button group

Adding custom button group

bgApebgApe Posts: 5Questions: 3Answers: 0

I would like to add a group of custom buttons on the far left side of the table (New, Edit and Delete). I would like the built in buttons (Copy, CSV, Excel, etc.) to simply scoot over so I would have two groups of buttons side by side. I cannot figure out how to have both groups on the table. Or even the correct location to include my code for the custom buttons so that both button groups appear on the table.
I have received an error : DataTables warning: table id={id} - Cannot reinitialise DataTable.

Then, I can see my custom buttons on the table but not the built in ones anymore. I haven't found a clear answer anywhere for this specific situation.

Additionally, is it possible to **hide ** any button until at least one row is selected? I've found how to disable a button but not how to make it invisible.

Any help is much appreciated!

Answers

This discussion has been closed.