This is a migrated thread and some comments may be shown as answers.

filter in gridviewfilteringrow for GridViewMultiComboBoxColumn

1 Answer 216 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mahsan
Top achievements
Rank 1
Mahsan asked on 20 Aug 2013, 12:29 PM
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

1 Answer, 1 is accepted

Sort by
0
George
Telerik team
answered on 23 Aug 2013, 08:34 AM
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 >>
Tags
GridView
Asked by
Mahsan
Top achievements
Rank 1
Answers by
George
Telerik team
Share this question
or