ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: jkoci@volny.cz on May 28, 2022, 10:34:42 pm
-
Hi.
when grid is created in hidden div, attempt to show ends with error below (dims is undefined). When div is visible, grid works well.
PQ8.2.1, bootstrap4, jQuery
Thank you for help how to avoid it.
Jan
pqgrid.dev.js:4054 Uncaught TypeError: Cannot read properties of undefined (reading 'wdCenter')
at pq.cRenderBody.refreshColumnWidths (pqgrid.dev.js:4054:19)
at pq.cRenderBody.init (pqgrid.dev.js:16008:92)
at t.paramquery.cRefresh.refresh (pqgrid.dev.js:4951:306)
at pqgrid.dev.js:4921:7
at pqgrid.dev.js:4930:23Uncaught TypeError: Cannot read properties of undefined (reading 'wdCenter')
-
Please call the refresh method of the grid when its state changes from hidden to visible,