How to set preSelect value dynamically
How to set preSelect value dynamically
imic
Posts: 6Questions: 0Answers: 0
in SearchPanes
Hi.
I am trying to do similar activity as following but after DataTable is created: https://datatables.net/reference/option/columns.searchPanes.preSelect
This is my javascript code but I am not sure where and how to set preSelect values here:
sp = new $.fn.dataTable.SearchPanes(table1, {
cascadePanes: true,
layout: 'columns-3',
columns:[2,5,7],
});
Please show right direction!
This discussion has been closed.
Replies
The example in the docs you linked to shows how to enable it through the Datatables options.
Kevin