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
50
Enter Edit Mode in UltraWinGrid
posted

Hi guys,

 I've got an ultra win grid with 3 visible columns. The second column is the only editable one. I've added a handler for the Enter event on the grid. In this handler I activate the second cell in the first row (i.e. the editable cell in the first row). I've also added key action mappings for the grid so that when I press the tab key i go to the next row and the editable is goes into edit mode. My question is how can i force the editable cell in the first row to go into edit mode when its activated? I assume that the key action mappings only work when you press the keys once you're in the grid. I've also set the Activation to AllowEdit but this clearly doesn't make it go into edit mode.

Thanks,

 Eric

  • 280
    Verified Answer
    posted

    Hi man,

    use this :

    Grid.PerformAction(Infragistics.Win.UltraWinGrid.UltraGridAction.EnterEditMode);

    in the AfterRowActivate and after you activate the editable cell

    Hope that Helped

    Nassos