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

RadMultiColumnComboBox filtering(with lot of data)

5 Answers 353 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Gezim
Top achievements
Rank 1
Gezim asked on 19 Jun 2012, 11:28 AM

Hi,
I am using this property for best fit my column(objComboBox.MultiColumnComboBoxElement.AutoSizeDropDownToBestFit =

true;) in RadMultiColumnComboBox columns but when i have data source which have a lot of data i need to implement filtering on it.
I am implemening it in this way:

FilterDescriptor filter = new FilterDescriptor();

filter.PropertyName = objComboBox.DisplayMember;

filter.Operator =

FilterOperator.Contains;

objComboBox.EditorControl.MasterTemplate.FilterDescriptors.Add(filter);
but it's take a lot of time when the filter is auto complete.
Please how to make filtering in this controll and dont take a time.
Note: When i am not using
AutoSizeDropDownToBestFit it's( Filter) works fine and i dont have delay( my data source have more then 1000 items and 3 columns), but when i have Combo which have more then 3 column and the size of DropDown is less, than the user can not see what have in that control.
What is your suggestion to eliminate this issue.
Best regards,
Gezim

5 Answers, 1 is accepted

Sort by
0
Jack
Telerik team
answered on 22 Jun 2012, 08:04 AM
Hello Gezim,

Thank you for contacting us.

We know about this limitation in RadMultiColumnComboBox and we will work in future to improve the behavior in the described scenario. Currently, you can work around the issue by using a fixed drop down size. To do this you should set the DropDownMinSize and DropDownMaxSize properties. Here is a sample:
box.DropDownMinSize = new Size(200, 200);
box.DropDownMaxSize = new Size(200, 200);

I hope this helps.
 
Greetings,
Jack
the Telerik team
RadControls for WinForms Q2'12 release is now live! Check out what's new or download a free trial >>
0
Fadi
Top achievements
Rank 1
answered on 29 Oct 2012, 11:52 AM
Dear Jack,
How do i filter a multiple column in RadmulticolumnComboBox?

i am using the below code to filter...
this.CurrencyMultiColumnCOmbobox.AutoFilter = true;
this.CurrencyMultiColumnCOmbobox.DisplayMember = "Name";
FilterDescriptor filter = new FilterDescriptor();
filter.PropertyName = this.CurrencyMultiColumnCOmbobox.DisplayMember;
filter.Operator = FilterOperator.Contains;
this.CurrencyMultiColumnCOmbobox.EditorControl.MasterTemplate.FilterDescriptors.Add(filter);

so what do i need is to apply filter on multiple columns, as if i am using the OR operator in SQL Server.
Thanks in advance.
0
Jack
Telerik team
answered on 01 Nov 2012, 07:52 AM
Hi Fadi,

Officially, RadMultiColumnComboBox supports only filtering by a single column like demonstrated in this help article. We plan to improve its API and behavior in future and we will definitely consider this scenario.

If you have other questions, we will be glad to help.

Greetings,
Jack
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
0
Sandi Markon
Top achievements
Rank 1
answered on 12 Mar 2013, 01:25 PM
Hello. A little bump from me.

Anything new regarding filtering by multiple columns?

Thanks.
0
Jack
Telerik team
answered on 13 Mar 2013, 01:26 PM
Hello Sandi ,

This feature is still not scheduled and I cannot give you a time frame when it will be implemented. Now I added this as a feature request in our issue tracking system and you can vote for the feature by using the following link.

If you have other questions, do not hesitate to contact us.
 
Regards,
Jack
the Telerik team
WinForms Q1 2013 boasts PivotGrid, PDF Viewer, Chart enhancements and more. Check out all of the latest highlights.
Tags
MultiColumn ComboBox
Asked by
Gezim
Top achievements
Rank 1
Answers by
Jack
Telerik team
Fadi
Top achievements
Rank 1
Sandi Markon
Top achievements
Rank 1
Share this question
or