1rosehip / jplist

jPList jQuery Data Grid Controls is a flexible jQuery plugin for sorting, pagination and filtering of any HTML structure (DIVs, UL/LI, tables, etc).
http://jplist.com
Other
437 stars 177 forks source link

Checkbox filters that includes result instead of excluding others #278

Open FrancescoQ opened 6 years ago

FrancescoQ commented 6 years ago

Hi, i don't know if there's some setting i don't see or if simply it's not possible but i need the checkbox filter to work like skyscanner ( example: https://www.skyscanner.it/trasporti/d/rome/2017-12-12/nyca/nyca/2017-12-19/miaa/miaa/2017-12-26/rome?adults=2&children=0&adultsv2=2&childrenv2=&infants=0&cabinclass=economy&ref=home&seo_airline=s7#results ) So basically if i uncheck everything i don't see any result and when i begin to add some checked value i begin to see results that contains only that value, basically in the example if i check all the airports for Rome and Miami, but only JFK, i have to see ONLY the flights that start or end at JFK, not other NY airports, so if i check only one airport i won't see anything (obviously there are no flights that depart and arrive on the same airport :) ) i don't know if it's understandable...

Is it possible to achive this with the current filter bundles?

Otherwise i can try to write my own plugin.. but i don't know if it's a good idea...