I'm trying to set a specific grid cell to an UltraComboEditor. On the InitializeLayout event, I bind the ComboEditor and set these properties:
e.Layout.Rows[4].Cells[1].EditorComponent = ceList; e.Layout.Rows[4].Cells[1].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDown;
However, I don't see the Editor in the cell. What else do I need to do to for the grid cell to contain the UltraComboEditor?
Thank you.
Hello Bdisk,
I have tried this approach and it works fine for me. When I hover over the desired cell I am able to see the drop down button. What happens if you hover over the desired cell? If you would like to see always the dropdown button of the UltraComboEditor control you could set the following property in the InitializeLayout event of the UltraGrid:
e.Layout.Bands[0].Columns[1].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
If you have any other questions please feel free to ask.
Hey, thanks - I got this working. I was referencing the wrong cell index.
I am glad that you were able to fix this.
Please feel free to contact us if you have any questions in the future.