Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
85
How to apply multiple filters on one column
posted

I am trying to apply multiple filters on one column for the Igx grid but I'm not able to find a solution. I’m trying to do this in the Angular Typescript code

I've looked at the FilteringExpressionsTree and tried using that but it seems that it only applies one filter at a time for a given column.

Example:

sort

column1

column2

1

1

2

2

3

3

 

After filtering out value '1' from 'sort' column it should look like this:

sort

column1

column2

2

2

3

3

And then after filtering out value '2' in 'sort' column it should look like this:

sort

column1

column2

3

3

And then if the user wants to see all rows with 'sort' value '2' again it should look like this:

sort

column1

column2

2

2

3

3

 

Is there a way to do this? I've been trying to use FilteringExpressionsTree but that doesn't seem to work

  • 1260
    Offline posted

    Hello,

    I believe the following forum thread is duplicate of this one.

    In order to keep communication in one place, I will be assisting you in the other thread.

    Sincerely,

    Tihomir Tonev
    Associate Software Developer
    infragistics