SearchPanes with server side configuration

SearchPanes with server side configuration

hrasthrast 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.

Answers

  • hrasthrast Posts: 17Questions: 5Answers: 0

    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:

  • colincolin Posts: 15,144Questions: 1Answers: 2,586

    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

  • hrasthrast Posts: 17Questions: 5Answers: 0

    Is it possible to write my own controller in Python - Django for this?

  • colincolin Posts: 15,144Questions: 1Answers: 2,586

    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

This discussion has been closed.