[SearchPanes]: Different behaviour for serverSide: true/false
[SearchPanes]: Different behaviour for serverSide: true/false

in SearchPanes
Test case:
http://live.datatables.net/metuteqe/6/edit?js,output
Behaviour with serverSide: false
:
- When selecting the first filter option, the other options of the search pane are still displayed (multi selection is possible); all filter options showing the
total
value - The other search panes only showing the filter options available for the filtered list; the
total
andcount
value is displayed
Behaviour with serverSide: true
:
- When selecting the first filter option, the search pane only shows the selected item (multi selection is not possible); the
total
andcount
value is displayed
Is this a desired behaviour?
This discussion has been closed.
Replies
It's because your server-side script isn't returning the expected data. if you look at this example here, the
count
property for each of the SearchPanes is > 1, meaning they'll be shown. In your example, thecount
is 1 for the elements that are shown, and 0 for those that aren't, hence why they're removed.Colin
Hi @colin ,
thank you so much for your support. That explains a lot and we will modify our serverside scripts accordingly.
Pascal