AutoComplete for Multi Column Combo

2 posts, 0 answers
  1. Shawn
    Shawn avatar
    4 posts
    Member since:
    Oct 2011

    Posted 27 Oct 2011 Link to this post

    Hello,

    I would like to extend my MultiColumnComboBox control by adding AutoComplete.

    After browsing the site, I see a feature that seems to emulate autoComplete:

    Filtering and Sorting

    The Telerik WinForms MultiColumnComboBox control supports as-you-type filtering which means that end users are able to initiate fast search among items.

     

    Telerik RadMultiColumnComboBox for WinForms - Filtering

    How is this Filtering and Sorting achieved?  My goal is:

    - Every time the user enters a new keyPress the list should filter on ANY column's data
    - The closest or First matching row should be highlighted
    - If they enter a partial result (Above they entered "ma") and hit the ENTER key, it should stick the First or Matching row's Value into the field

    So, does the secret to this functionality lie in a "FilterDescriptors"?

    I found this code sample, but it does not appear to do what I want based on the above requirements:

    http://www.telerik.com/help/winforms/gridview-filtering-setting-filters-programmatically-simple-descriptors.html

    Any help you can provide would be extremely appreciated!


    -- Shawn
  2. Svett
    Admin
    Svett avatar
    728 posts

    Posted 31 Oct 2011 Link to this post

    Hi Shawn,

    You should set the AutoFilter property of RadMultiColumnComboBox to true. You should read this documentation article. You should add s filter descriptor for each column that you want to include in the filtering.

    Regards,
    Svett
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top