RadMultiColumnComboBox filtering(with lot of data)

6 posts, 0 answers
  1. Gezim
    Gezim avatar
    4 posts
    Member since:
    Jun 2012

    Posted 19 Jun 2012 Link to this post

    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

  2. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 22 Jun 2012 Link to this post

    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 >>
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Fadi
    Fadi avatar
    20 posts
    Member since:
    Oct 2012

    Posted 29 Oct 2012 Link to this post

    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.
  5. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 01 Nov 2012 Link to this post

    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.
  6. Sandi Markon
    Sandi Markon avatar
    101 posts
    Member since:
    Jul 2012

    Posted 12 Mar 2013 Link to this post

    Hello. A little bump from me.

    Anything new regarding filtering by multiple columns?

    Thanks.
  7. Jack
    Admin
    Jack avatar
    2335 posts

    Posted 13 Mar 2013 Link to this post

    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.
Back to Top
UI for WinForms is Visual Studio 2017 Ready