Searchpanes and modal bootstrap
Searchpanes and modal bootstrap
BP7
Posts: 2Questions: 0Answers: 0
in SearchPanes
Hi !
I'm new on Datatables.
When I click on a row of Datatables, this open a bootstrap modal with a Datatables inside. Howewer, the searchpane panel return no data on this modal (No SearchPanes).
Do you have an idea why the panel is empty and how solve it ?
Here an example : https://jsbin.com/qeguhivemi/edit?html,js,output
Thanks a lot.
Replies
That's because of the
searchPanes.threshold
- that determines if the panes are unique enough to warrant displaying them. You can always display them by setting that threshold to 1.0, please see updated example : https://jsbin.com/yuzosidezo/1/edit?html,js,outputColin
Oh nice thank you. Just another question : when I select a value (year 2021 for example), this doesn't filter the grid.
Do you have an idea ?
Thanks
It's because you have
Remove that line, and you'll be good to go - the SearchPane is searching, so it's using that setting. If want to disable the searching from the table, use
dom
- something like https://jsbin.com/qebirahadi/1/edit?js,outputColin