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
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.