RadGridView with FilterDescriptors

3 posts, 1 answers
  1. Tarcisis
    Tarcisis avatar
    29 posts
    Member since:
    Nov 2010

    Posted 24 Jan 2012 Link to this post

    Hi there,


    I have a telerik grid with filterable columns (for example image 1).
    All i want is: when a open the dialog with grid inside, a field of a column must be selected, (for example image 2).
    I tried this:
    ((RadGridView)myGrid).FilterDescriptors.Add(new Telerik.Windows.Data.FilterDescriptor("NAME", Telerik.Windows.Data.FilterOperator.IsEqualTo, "Chelsea"));


    But now i only have one field in the column, but i want all the fields (for example image 3)




    Thanks

  2. Answer
    Rossen Hristov
    Admin
    Rossen Hristov avatar
    2477 posts

    Posted 24 Jan 2012 Link to this post

    Hi,

    You should use a ColumnFilterDescriptors as described here.

    Greetings,

    Ross
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. Tarcisis
    Tarcisis avatar
    29 posts
    Member since:
    Nov 2010

    Posted 24 Jan 2012 Link to this post

    Thanks!!

    It works!!!
Back to Top