Buttons on main table destroyed when destroying details table
Buttons on main table destroyed when destroying details table
Hi,
This is my first post, so first of all, thank you for a great framework.
I've just started using the buttons feature and it seems quite straightforward, at least for the file export buttons.
I'm using buttons both on my "master" table and also on my "details" table.
When I close the details by clicking the open row in the master table, I destroy the details table.
When I destroy the details table, my buttons disappear on the master table.
I've used datatables live, where I am able to reproduce the issue:
http://live.datatables.net/wolaleku/1/
I thought maybe it would happen on all tables when you destroy one table buttons would disappear on all tables, but it only appear to happen when the details table is destroyed.
Should I just leave out the destroy part or isn't that good practice?
Any help is appreciated.
Thank you.
Kind regards
Kasper
Answers
I had in the above datatables live, commented out the line that causes trouble.
Here is a new link http://live.datatables.net/wolaleku/3/