I have a grid and each row has one maintainable cell. The edit control is a ultraCombo with three values Yes, No, Exempt. When I enter in edit mode the combo box appears and allows me to select the value I want. Everything displays fine. It show the pencil to the left telling me the row has been changed. However if I click on the next row and enter edit mode it changes the previous row back its original value. I added an event to check to see when the combo value changes. Then I update the active cell value with the one the user selected but this still does not allow the value to stay. I am not sure what I am doing wrong.
Hi,
If the value is reverting back to the original value, then it's most likely an issue with the DataTypes of the columns in the combo versus the data type of the grid column. The values in the combo probably aren't matching up somehow. So check the datatype on your ValueMember column and make sure it's the same as the DataType of the grid column.
On a completely different note, why use an UltraCombo to provide a dropdown in the cell? Are you using a DataFilter? If not, then the UltraDropDown would be a more efficient choice.Here's some more info on that...
HOWTO:What is the best way to place a DropDown list in a grid cell?
Both DataTypes are set to String. I am using an ultraDataSource that gets filled in based on the contents of the row. The contents are always correct in the ultraCombo but the Cell never keeps the value. The ultraCombo displays the whole word for instance "Yes" but the ValueMember is "Y".
Hello,
If you don't have any more question on this matter I will close this case in three business days.
Sincerely,MatteoDeveloper Support EngineerInfragisticswww.infragistics.com/support