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

MultiColumn GridViewComboboxColumn with Autocomplete Feature

1 Answer 148 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Wajih
Top achievements
Rank 2
Wajih asked on 22 Sep 2011, 10:56 PM
Hi

We have RadGridView with various columns which also includes some GridViewComboboxColumns. We are binding RadGridView with ObservableCollection. The combobox needs to be multi column with Autocomplete enabled on first columns.

As per telerik suggestions we are able to create custom gridviewcombobox with multiple columns but when combox box is opened the columns headers are missing.

Can you please help us in getting Multi Column Combobox that is placed in Grid with:
1. Combobox column headers visible
2. Auto complete enabled on first column of combobox.

Thanks,
Wajihuddin

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 23 Sep 2011, 08:22 AM
Hello Wajihuddin Khan,

Generally, you can change the editor style of GridViewComboBoxColumn and define a grid inside. It may be something similar to the approach illustrated in this blog post. However, please keep in mind that placing such a heavy control like RadGridView in CellEditTemplate of a column could degrade the performance, especially if you are working with a lot of data. So, I would recommend you to follow the idea of predefining the ItemTemplate of GridViewComboBoxColumn just as illustrated in our online documentation.
Considering the AutoComplete functionality, you may set IsComboBoxEditable property of the column. If you want to specify against which property the search should be performed, you may specify the TextPath property:

<telerik:GridViewComboBoxColumn   telerik:TextSearch.TextPath="Name"/>

 

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
GridView
Asked by
Wajih
Top achievements
Rank 2
Answers by
Maya
Telerik team
Share this question
or