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

Use custom multicolumnComboBox like column editor

4 Answers 151 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tajes
Top achievements
Rank 1
Tajes asked on 29 Nov 2010, 01:27 PM
Hello,
   I made a custom MultiColumnComboBox inherited from RadMultiColumnComboBox, with aditional features. How can I use this control like editor in a column of a RadGridView?

Thanks in advance.

4 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 29 Nov 2010, 02:31 PM
Hello, 

This has been answered recently and has full examples. have a look at this forum post but if you need any further help, just let me know. 
Thanks
Richard

EDIT// Specifically, my answer here has a full example of turning a column into a multicolumncombo 
Richard
0
Tajes
Top achievements
Rank 1
answered on 30 Nov 2010, 10:39 AM
Thank you Richard,
   Very good example, but I'm looking for a way to inherit from multicolumnComboBoxColumn and add my own code.

   I have a multicolumnComboBox with the same code as I want in the column. In my multicolumnComboBox I use the myComboBox.EditorControl.MasterTemplate.FilterDescriptors.Add(filter) to add filters, myComboBox.SelectedIndex and myComboBox.SelecectedItem, to manage values automatically.

   My problem is GridViewMultiComboBoxColumn doesn't have these properties that I need. And I were wondering if it's possible to use my ComboBox like editor in the column.

Thanks anyway, and sorry for my English
0
Richard Slade
Top achievements
Rank 2
answered on 30 Nov 2010, 11:07 AM
Hello again,

Is this not what you want to acheive? Filtering a multicolumncombobox

If this is not what you needed, my apologies. Let me know and I'll do my best to sort out what you need.
Richard
0
Jack
Telerik team
answered on 02 Dec 2010, 02:24 PM
Hello Iván Tajes,

Please take a look at the help article which Richard suggested. I think it may help. In addition, this help article describes how to create a custom editor in RadGridView. You can find an example in our Examples application, please check the GridView >> Manipulate data >> Use Custom Editors example.

I hope this helps. If you have further questions, we will be glad to assist.

All the best,
Jack
the Telerik team
Get started with RadControls for WinForms with numerous videos and detailed documentation.
Tags
GridView
Asked by
Tajes
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Tajes
Top achievements
Rank 1
Jack
Telerik team
Share this question
or