How show combobox style in gridview

1 Answer 106 Views
GridView MultiColumn ComboBox
park
Top achievements
Rank 1
park asked on 14 Apr 2022, 06:30 AM

first picture is basic ui

second picture is telerik ui

 

 

How to make it look like the first picture for telerik ui??????

 

1 Answer, 1 is accepted

Sort by
0
Accepted
Dess | Tech Support Engineer, Principal
Telerik team
answered on 18 Apr 2022, 04:27 AM

Hi, Park,

RadGridView offers GridViewComboBoxColumn that displays a set of predefined text values in a drop down list. However, please have in mind that drop down is displayed only when a cell is being edited. The following help article demonstrates how to setup such a column: 

https://docs.telerik.com/devtools/winforms/controls/gridview/columns/column-types/gridviewcomboboxcolumn 

If you want to indicate the editor's style and show the arrow button even when is now being edited, you may have a look at the following KB article which demonstrates a sample approach:

https://docs.telerik.com/devtools/winforms/knowledge-base/indicate-the-editor-type-in-radgridview-columns 

I hope this information helps. If you need any further assistance please don't hesitate to contact me.

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

park
Top achievements
Rank 1
commented on 18 Apr 2022, 05:23 AM | edited

i tried your solution but have error


Dess | Tech Support Engineer, Principal
Telerik team
commented on 20 Apr 2022, 09:40 AM

Hello, Park, 

According to the provided screenshot, it seems that you are trying to use a custom column at design time in the Property Builder that RadGridView offers.

Custom columns should be added and their properties should be managed in the code behind only, they cannot be used at design time. 

Should you have further questions please let me know.
Tags
GridView MultiColumn ComboBox
Asked by
park
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or