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
160
bringing the focus back to a cell after closing a popup.
posted

Hi all,

 I have a wingrid in my application. Upon entering something in a cell and pressing enter a window is popped up and upon closing the window control comes back to the grid. Since the focus comes back to the grid as a whole there is no active cell or active row at this point.

 Is it possible to bring the focus back onto a cell of the grid, on the closing of a popup?

Additionally Is it possible to obtain the active row or cell of the main grid when the control is within the popup window?

Thanks in advance,

Prenil

Parents
No Data
Reply
  • 469350
    Verified Answer
    Offline posted

    Hi Prenil,

          Are you sure ActiveRow and ActiveCell are changing? There's no reason these properties should be changing when you show a dialog. Most likely, the ActiveCell is still the same as it was, it's just not in edit mode any more. If that's the case, all you have to do is call the PerformAction method on he grid and speficy EnterEditMode.

Children
No Data