I inherited some code where I see an UltraCombo is bound to an UltraGrid as an EditorComponent within a couple of events (BeforeCellActivate and BeforeRowActivate). The UltraCombo is bound to a datatable in a DataSet. The datatable is refreshed as rows are changed to limit the data that the ultracombo will display. I don't believe I would've used an EditorComponent, for this but it is what is being used.
The issue that was reported is that when moving from row to row, the currently selected row shows the display member for the combobox properly but the other rows switch to the value member of the UltraCombo. What's weird is when the form first displays all the rows look correct. It is when you start selecting rows that the issue occurs.Why would moving to a different row have the rest of the rows in the UltraGrid change their display value? I've tried a couple of quick things to try and alleviate the issue, but nothing seems to work..
Thanks
Hello Louis,
I understand your issue, but due to the lack of information I am not able to reproduce this at my side. Can you share with us some more information, so I can try to look into this?
You said you are handling a couple of events. For which control you are handling these events – UltraGrid or UltraCombo? Which events are you handling? Can you share the code of your event handlers?
It will be great if you can isolate this behavior in small sample project and send it to us for further investigation.
Looking forward to your reply.