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
430
Enter Edit Mode Programmatically
posted

I would like to be able to programmatically force a cell in the UltraGanttView grid to enter edit mode.  As it stands currently, when a user uses the directional arrows to move to another cell, the cell does not enter edit mode.  I would like to implement this functionality.  

Is there something that would achieve something like the PerformAction function for the UltraGrid, and I'm just missing it?

  • 53790
    posted

    Hello

    One possible approach to achieve desired behavior could be if you are using the code:

    private void ultraButton1_Click(object sender, EventArgs e)

    {

      EmbeddableUIElementBase embeddableElement = this.ultraGanttView1.UIElement.GetDescendant(typeof(EmbeddableUIElementBase)) as EmbeddableUIElementBase;

     if (embeddableElement != null) ultraGanttView1.GridSettings.ColumnSettings[TaskField.Name].Editor.EnterEditMode(embeddableElement);

    }

    Let me know if you have any questions.

    Regards