add bootstrap dropdown inside datatable
add bootstrap dropdown inside datatable
I want to dynamically add a dropdown to my last column. My table will be filled using some serverside data and I need to decide an action on it from the dropdown menu.
What would be the best way to achieve this. I am using datatable with bootstrap.
What would be the best way to achieve this. I am using datatable with bootstrap.
This discussion has been closed.
Replies
I tried it with the build-in dropdown from bootstrap for a second row with colspan over all cols, but datatables does not work with it. If the tablerow is loaded after datatables is initialised it might work.
The solution I found lives her
http://www.datatables.net/blog/Drill-down_rows
Greets
Ron