Hi,
I try to follow the following link to insert a combo box into my gridview.
http://www.telerik.com/help/winforms/gridview-columns-gridviewcomboboxcolumn.html
However, When I copy and paste code of "Binding to collection of custom object", my gridview doesn't display it data (see my attachment). when I click on second cell, it can display its combo box. When I select a value in combo box, it seems the grid doesn't update value.
I want the following requirement.
I have a class. for example:
class A {
Id,
Field1,
Field2
}
I want to display list of A into my grid.
Column 1 is Id of a A
Column 2 is a Combo box, it gets data from BB. when user selects a value of its combo box, the value will be set to Field2
Column 3 is a Combo box, it gets data from CC. when user selects a value of its combo box. the value will be set to Field3
Column 4 is a button. The button is displayed as an image. When user clicks on it, the current row will be deleted.
Can you instruct me ? I'm quite new with telerik control. Nice day.
I try to follow the following link to insert a combo box into my gridview.
http://www.telerik.com/help/winforms/gridview-columns-gridviewcomboboxcolumn.html
However, When I copy and paste code of "Binding to collection of custom object", my gridview doesn't display it data (see my attachment). when I click on second cell, it can display its combo box. When I select a value in combo box, it seems the grid doesn't update value.
I want the following requirement.
I have a class. for example:
class A {
Id,
Field1,
Field2
}
I want to display list of A into my grid.
Column 1 is Id of a A
Column 2 is a Combo box, it gets data from BB. when user selects a value of its combo box, the value will be set to Field2
Column 3 is a Combo box, it gets data from CC. when user selects a value of its combo box. the value will be set to Field3
Column 4 is a button. The button is displayed as an image. When user clicks on it, the current row will be deleted.
Can you instruct me ? I'm quite new with telerik control. Nice day.