I have a grid column with an UltraCombo as the editor component.
The UltraCombo translates a stored ID into a human readable description.
I would like to read ActivitiesUltraDropDown.SelectedRow.Cells(2).Value and put that into an unbound column in the grid. I can make this work on the TextChanged event of the UltraCombo, but that event won't fire unless the user makes a change to the UltraCombo. I need an event to do this during grid load when the data is just loading, not changing.
I need a clue as to which event I could use when;
I decided to take a different approach, because it seems that the UltraDropDown doesn't have a selected row yet at the time I'd like to read it.
I wrote a little function that makes a datatable out of the same bindingsource that the UltraDropDown is bound to and does a find on it to return the value I want, then put it in the InitializeRow event.
Also put the same function into the AfterCellUpdate event for when values change ...
Hello ,
I am glad to hear that you have found solution for your issue. I just want to offer you one more opportunity. Instead of UltraDropDown you could use UltraCombo it has SelectedRow property and it could work in your scenario.
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraCombo_members.html
http://help.infragistics.com/Help/NetAdvantage/WinForms/2012.2/CLR4.0/html/Infragistics4.Win.UltraWinGrid.v12.2~Infragistics.Win.UltraWinGrid.UltraDropDownBase~SelectedRow.html
Thank you for using Infragistics Components.