RadGrid Filter like NotIn Operator

2 posts, 0 answers
  1. Rakesh
    Rakesh avatar
    1 posts
    Member since:
    Mar 2011

    Posted 23 Mar 2011 Link to this post


    I am using Radgrid and I have a requirement to filter record in Grid like we do "NOT IN" Query in SQL Server.
    I have a scenario like this:

    I place RadCombobox in Grid' FilterTemplateColumn with respected filter values.
    There are four values i.e. Value1, Value2, Value3 and Other. I fetch the data from Status table, which has status values like Value1, Value2, Value3 and Rest of the other status as Other.
    For Value1, 2 and 3 I am using code like this:
    and it is working fine.
    tableView.filter("STATUSNAME", args.get_item().get_value(), "EqualTo");

    My requirement is for fourth filter value "OTHER". When user selects "OTHER" I want to filter records which are NOT IN Value1, Value2 and Value3.

    Thanks in advance.
  2. Mira
    Mira avatar
    1124 posts

    Posted 28 Mar 2011 Link to this post

    Hello Rakesh,

    I have followed your scenario and prepared a sample project for you demonstrating how the desired functionality can be implemented. You can find it attached to this message.

    I hope it helps.

    the Telerik team
Back to Top