User (Old forums)MemberOctober 9, 2014 at 11:57 amPost count: 23064
I have a winform containing a grid, 1 column
contains an int value with a data generated collection that is editable as a
combobox. If I edit anything in the grid through the UI in visual studio the
combobox doesn’t render at runtime when I click/double-click on that cell. If I
revert back to code prior to a modification everything is fine. It appears to
rearrange some of the generated code in the designer file, and loses its mind. I basically have to delete and rebuild the grid to restore normal functionality, but even then the grid eventually gets back to the state where I can no longer modify it in the designer.
Imported from legacy forums. Posted by Brian (had 859 views)Diane [Xceed]ModeratorOctober 14, 2014 at 11:35 amPost count: 1353User (Old forums)MemberJuly 21, 2015 at 5:21 amPost count: 23064
I have a bound grid and I would like the user to be able to edit one of the columns via a dropdownlist. I have been trying this for ages but just can’t get it to work and haven’t been able to find any examples for this version of the grid.
PLEASE PLEASE can someone post an example of having a bound grid using the dropdown control in one of the columns.
Imported from legacy forums. Posted by stephen (had 223 views)User (Old forums)MemberAugust 28, 2015 at 12:10 amPost count: 23064
I believe I have been having a similar problem to you for quite some time. For some reason on some of my grids, when I modify something in the designer, the drop down control seems to break. I discovered that it is actually still there, because if you edit the cell and press up and down keys on the keyboard, it changes items in the drop down control. I just couldn’t see the drop down button. I discovered that this line of code in the designer was causing the problems;
this.comboBoxEditor1.TemplateControl.DropDownButton = null;
Removal of this line and I have my drop down control working again.
Imported from legacy forums. Posted by Peter (had 340 views)
- You must be logged in to reply to this topic.