Meteor-Community-Packages / meteor-tabular

Reactive datatables for large or small datasets
https://packosphere.com/aldeed/tabular
MIT License
363 stars 136 forks source link

Advanced Filter Methods #134

Open bloigge opened 9 years ago

bloigge commented 9 years ago

Hi.

I stumbled across this project https://github.com/maca88/datatables.plugins#datatablesformfilter (DEMO: http://hartis.si/datatables/#/breeze/orders) where there is a variety of different filter options included to DataTables. I was wondering if this kind of advanced filter options are also possible for meteor.

I am pretty new to meteor and I didn't find a way to integrate the used methods from the Angular examples. If there isn't anything available yet, what would be the best way to integrate those filter functions? I would also like to create a generic way (maybe based on my collection schema) to detect the data type so that my column filter knows which kind of operators are allowed.

Best Regards

isAlmogK commented 9 years ago

I would also be interested in having this supported in the package, well test out the plugin

aldeed commented 9 years ago

This is possible but tricky since everything ends up as a server-side mongo query. Any filtering supported would have to be translated to MongoDB query operators and sent to the server. I can explore this eventually.

isAlmogK commented 9 years ago

+1

Ajaxsoap commented 9 years ago

:+1:

thebarty commented 9 years ago

Wow - those examples look really great. Maybe this is why people are so fanatic about angular...

Yeah it would be really cool to have this funtionality (maybe as an addon) to tabular.

+1 :+1: