Searchpane working even when not defined.
Searchpane working even when not defined.
PareshKumar
Posts: 31Questions: 14Answers: 1
Hi, I'm trying to use 3 datatables in a single page with one datatable having searchpane. The default value of searchpane is false, but searchpane shows up for all the datatables. Any help will be appreciated. Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I can image a few different ways to do what you are stating. At minimum please post the code you are using. Better would be a link to your page or a test case showing the issue.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
Hi kevin,
I added the following code
columnDefs: [
{
targets: '_all', searchPanes: {
show: false,
},
}
]
But it still says loading searchpanes..
Hi @PareshKumar ,
I'm afraid we will need to see a test case to debug this. I've mocked up a quick example which shows SearchPanes on only one table, so I'm guessing your initialisation is going wrong somewhere.
Feel free to modify my example to show your problem.
Thanks,
Sandy
Hi @sandy ,
By removing the dom it works.
Thanks