filter in gridviewfilteringrow for GridViewMultiComboBoxColumn

2 posts, 0 answers
  1. Mahsan
    Mahsan avatar
    1 posts
    Member since:
    Aug 2013

    Posted 20 Aug 2013 Link to this post

    Hello
    I have a problem with gridview filterng,
    In my grid I have a GridViewTextBoxColumn  (Column Name is "A") and  GridViewMultiComboBoxColumn (Column Name is "B") ,when I filter
    Column "A"  I write the text in gridviewfilteringrow and every yhing is ok but when i Want to filter column "B" ,in gridviewfilteringrow
    a dropdownlist is appear and I have to select one of those value but I want to do filtering in this column like column "A".
    is it possible?
    please help me to solve this problem.
    thanks alot
  2. George
    Admin
    George avatar
    500 posts

    Posted 23 Aug 2013 Link to this post

    Hi Mahsan,

    Thank you for writing.

    To achieve this effect you need to set the DropDownStyle of the editor in the filter row to DropDown, so it will allow typing in it, add a FilterDescriptor for this column and then in the TextChanged event of the same editor set the value the to the FilterDescriptor. You can read more about filtering here - http://www.telerik.com/help/winforms/gridview-filtering-setting-filters-programmatically-simple-descriptors.html.

    Attached you can find a sample application, which I hope will help you.
     
    Regards,
    George
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top