SearchPanes with server side configuration
SearchPanes with server side configuration
hrast
Posts: 17Questions: 5Answers: 0
Hello,
I am trying to implement SearchPanes with server side DataTables, but SearchPanes don't send their parameters as is described here - https://datatables.net/extensions/searchpanes/serverside. I am currently using 1.1.0 version of SearchPanes.
Do I have to do something more than just enable serverSide option when initializing DataTable in order to get those parameters in my POST request?
Here is how my configuration looks - live.datatables.net/kahikimo/4/edit.
This discussion has been closed.
Answers
Here I saw that SearchPanes parameters aren't given if nothing is selected, but my SearchPanes are also empty - No data available in table. When I try to pass searchPanes.options from server, nothing is changed.
My options look like they do here - https://datatables.net/extensions/searchpanes/serverside under returned data. Here is a picture of preview:
It would be worth looking at this blog post and this example, as it's demonstrating this. If that doesn't help, we're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Is it possible to write my own controller in Python - Django for this?
Yep, you can use any technology for the back provided the responses are valid for the protocol. We provide .NET, Node and PHP libraries, but not Python unfortunately,
Colin