Filter selections get de-selected when multi-selections are made on same column
Filter selections get de-selected when multi-selections are made on same column
JohnRW
Posts: 5Questions: 1Answers: 0
in Bug reports
Description of problem:
I have 2 filterable columns in my table, (category and status). If I select a category and a status to filter on then select a second status the category gets de-selected.
This question has an accepted answers - jump to answer
Answers
That behavior doesn't happen with this example. Please provide a link to your page or a test case replicating the issue so we can help debug.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin
http://live.datatables.net/cawovefu/1/edit
Under Position search Data Coordinator
Under Office search Edinburgh
Now add London
When London is added the first selection is de-selected
It looks like that's an old issue that's been addressed. I've updated your example with the most recent releases (using the download page) and everything appears to be behaving as expected. Could you take a look and see if that works for you, please,
Colin
Thanks very much Colin. Just one question, you replaced a bunch of file references with just 2, are there single files (js & css) which incorporate all the features?
That's right. With the download page, you can either concatenate the files (as I did with that URL), or you can have them all separate. It's slightly more efficient to have them in one file (less downloads),
Colin
Thanks again Colin, just one issue I am still having. When I initially open the filter button each filter box spans the entire screen and display one under the other. If I open the web development tools each box reverts to normal size making it hard to find the issue. Any suggestions?
Issue has been solved, thanks