I am displaying my data in a devexpress gridview. One of the column is state value. When the grid is edited, I have to show the state in a dropdownbox, so that the user could change the state by choosing a different state. Currently it is displayed in a
textbox, since it is the default. Essentially when the user clicks the edit button, a combobox should be displayed as part of the edit controls, and the combobox should be populated with all possible states in the codebehind and the selected value should
be the initial value on the grid. It is very easy do it in MS gridview. But I couldn't see any sample code for how to do it in the devexpress gridview.
ThirstyMind
Member
264 Points
223 Posts
devexpress gridview with combobox
Apr 04, 2012 09:16 PM|LINK
Hi,
I am displaying my data in a devexpress gridview. One of the column is state value. When the grid is edited, I have to show the state in a dropdownbox, so that the user could change the state by choosing a different state. Currently it is displayed in a textbox, since it is the default. Essentially when the user clicks the edit button, a combobox should be displayed as part of the edit controls, and the combobox should be populated with all possible states in the codebehind and the selected value should be the initial value on the grid. It is very easy do it in MS gridview. But I couldn't see any sample code for how to do it in the devexpress gridview.
Thanks
sandyb
Member
2 Points
1 Post
Re: devexpress gridview with combobox
Apr 18, 2012 04:32 PM|LINK
Did you get a solution for this?