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

AutoComplete for Multi Column Combo

1 Answer 385 Views
MultiColumn ComboBox
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 27 Oct 2011, 11:02 PM
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

1 Answer, 1 is accepted

Sort by
0
Svett
Telerik team
answered on 31 Oct 2011, 04:19 PM
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.

Tags
MultiColumn ComboBox
Asked by
Shawn
Top achievements
Rank 1
Answers by
Svett
Telerik team
Share this question
or