select with defined columns
select with defined columns
In looking at an example I had on a previous post, I want to change the checkbox to the method shown for a multi-select:
https://datatables.net/extensions/select/examples/initialisation/checkbox.html
However, the method in this example is not using defined columns. In this example:
http://live.datatables.net/siwufoxi/1/edit
how can I change Table3 to use the select checkbox? The one I am trying has [object object] behind the checkbox
This question has an accepted answers - jump to answer
Answers
Use
columns.defaultContent
in this case. Set it to an empty string, ie,""
. Like this:http://live.datatables.net/vuseqosu/1/edit
Also you need to load the select.js after datatables.js for the select option to work.
Kevin
perfect. thanks.