Skip to content
This repository has been archived by the owner on May 11, 2018. It is now read-only.

Column filtering based on a list of values #12

Closed
joejet2222 opened this issue Jun 11, 2014 · 5 comments
Closed

Column filtering based on a list of values #12

joejet2222 opened this issue Jun 11, 2014 · 5 comments

Comments

@joejet2222
Copy link

Excellent, excellent project.

Was trying to see if I could have multiple filters within a column. Thus, filtering within a column could be within multiple fields. For example, in a column, if there were A, B, C...you could, filter on A and B which would yield A, B (no C) rather than just A, just B, or just C. I don't think it was designed to handle this, but would definitely love to hear suggestions as to the possibility.

Many thanks.

@mmmdreg
Copy link

mmmdreg commented Jun 18, 2014

I agree this would be a worthwhile addition at some point.

@nathanleg
Copy link

Multiple column sorting would also be a very helpful feature.

@MoonStorm MoonStorm changed the title Any trick for multiple filtering within column? Support for multiple values per column filter Mar 6, 2015
@MoonStorm
Copy link
Owner

@joejet2222 I hope you don't mind if I "stole" your thread. I want this one to be the place for sharing ideas and snippets related to multi-value column filter, regardless of whether these values can be combined or not in a search.

Here is a bit of inspiration until we get the feature developed.
http://plnkr.co/edit/I6JJQD?p=preview
This one combines the principles of custom formatting, header templating with custom column filtering based on a set of values.

@MoonStorm MoonStorm changed the title Support for multiple values per column filter Column filtering based on a list of values Mar 6, 2015
@jdforsythe
Copy link

Perfect. Just what I needed. Thanks again, MoonStorm. I'm working on a large project combining trNgGrid with angular-xeditable. It was tricky at first and there have been a few hiccups. This plunkr solved a major issue. You are the man.

@edicius6
Copy link

edicius6 commented Aug 6, 2015

I expanded upon the concept in the plunker example (above) and created a custom directive that extends the TrNgGrid functionality. In case anyone wants to use it I put it on my blog:

http://www.davidcline.info/2015/08/trnggrid-dropdown-column-filter.html

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants