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
1320
Grid in a Grid with a UltraControlContainerEditor
posted

Hi together,

I have placed an

UltraControlContainerEditor hUltraControlContainerEditor = new UltraControlContainerEditor();
hUltraControlContainerEditor.EditingControl = new EditorButtonInGridUserControl();

in a UltraWinGrid cell a UserControl which itself contains an UltraTextEditor. This editor has a right DropDownEditorButton which contains another UserControl. This sub UserControl contains also an UltraWinGrid.

The cosmetical issue is that the cell "StartChan" does show the UltraTextEditor with DropDownEditorButton only when I click with the mouse in this cell. If I don't that the original "StartChan" cell (as we can see in the first row) will be shown.

How can I permanently show the UltraTextEditor in every row with his right DropDownEditorButton in the parent grid?

Thank you very much for any idea!

 

Parents
  • 469350
    Offline posted

    I'm having a hard time following what you are trying to do here. If you want to display a UserControl as a DropDown in a cell of the grid, then you do not need to use UltraControlContainerEditor. UltraControlContainerEditor is only for when you want a custom control to appear in the cell itself - NOT as a dropdown.

    It sounds to me like your column editor should simply be an UltraTextEditor with a DropDownEditorButton in the ButtonsRight collection which has your UserControl set as it's Control property.

    In that case, Amiram's solution will work.

Reply Children
No Data