How to set preSelect value dynamically

How to set preSelect value dynamically

imicimic Posts: 6Questions: 0Answers: 0

I am trying to do similar activity as following but after DataTable is created:

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',

Please show right direction!


  • kthorngrenkthorngren Posts: 20,796Questions: 26Answers: 4,862

    The example in the docs you linked to shows how to enable it through the Datatables options.


This discussion has been closed.