koalyptus / TableFilter

A Javascript library making HTML tables filterable and a bit more :)
https://www.tablefilter.com
MIT License
324 stars 95 forks source link

Display count in select filter #717

Closed CPASimUSante closed 5 years ago

CPASimUSante commented 5 years ago

Enhancement/feature description I would like to have the count of rows displayed in the select filter for each option.

Thank you

Screenshots and GIFs select

koalyptus commented 5 years ago

Hi @CPASimUSante, Probably a nice to have, but to achieve your particular use case I advise to take advantage of TableFilter's API, something like getColumnData is probably a candidate to get the data you need to implement your grouping logic. Cheers