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
237
UltraWinGrid one more button in same cell
posted

Hi there,

i want put one more buttons in same cell on wingrid. It's possible ?

Parents
No Data
Reply
  • 237
    posted

    I solved this problem, but now got another one. I put many buttons in cells with this code :

    FlowLayoutPanel flow = new FlowLayoutPanel();
    flow.AutoSize = true;
    flow.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
    Button btn = new Button();
    btn.Text = "BUTTON";
    btn.AutoSize = true;
    btn.Click += new EventHandler(btn_Click);
    flow.Controls.Add(btn);

    ControlContainerEditor c = new ControlContainerEditor();
    c.EditingControl = flow;
    c.ApplyOwnerAppearanceToEditingControl = true;
    c.ApplyOwnerAppearanceToRenderingControl = true;
    grd.Rows[0].Cells[Kolon].Editor = c;

    And my problem is this; only active cell's editor showing and i must click cell for see that editor control. Can i see always these added controls ?

Children