Author Topic: Uncaught TypeError: Cannot read properties of undefined (reading 'wdCenter')  (Read 598 times)

[email protected]

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 30
    • View Profile
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')

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6314
    • View Profile
Please call the refresh method of the grid when its state changes from hidden to visible,