Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
475
UltraComboEditor set as EditorComponent of a UltraGrid column is always empty
posted

I have an UltraComboEditor that has a datasource and shows as having items in it when looking at the datasource property in a breakpoint.  This combo is added as the EditorCompoent of a grid cell.  The combo shows up in the grid's add new row template, but it does not have values (empty dropdown).  I confirmed that the datasource has items, so not sure why the dropdown does not.

I have another form with similar code and that dropdown is fine, so not sure why this one is not.  Did I miss setting a property on the grid, row, or anything else?

e.Layout.Bands[0].Columns["ColumnKey"].EditorComponent = ruleTypeDropdown;
e.Layout.Bands[0].Columns["ColumnKey"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;
e.Layout.Bands[0].Columns["ColumnKey"].CellClickAction = CellClickAction.Edit;

this.gridCapRules.DisplayLayout.Override.AllowAddNew = Infragistics.Win.UltraWinGrid.AllowAddNew.TemplateOnBottom;