ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: pranit@srcomsec on January 17, 2023, 09:28:29 pm
-
We are scrolling row data in the grid and opening the popup based on row selection.
After closing the popup, the focus is set to the 1st row of the grid. We need to keep the focus and selection of the row after closing the popup.
-
Save focus parameters when grid loses focus ( in blur event )
blur: function(evt, ui){
g_ui = ui; //global var
}
Refocus when popup is closed by calling focus method.
grid.focus( g_ui );
-
Thank you but the focus is set to the last row of the grid viewport.
We did this via scroll position and working fine. We store the scroll position in the global variable via the "scroll" method and assign X & Y coordinates on the close popup.
https://paramquery.com/pro/demos/scroll