Author Topic: Error while onWindowResize() event  (Read 2151 times)

kiwon34

  • Pro Ultimate
  • Jr. Member
  • *
  • Posts: 52
    • View Profile
Error while onWindowResize() event
« on: December 28, 2017, 06:09:06 am »
Hi param,

I'm using version 5.0.1 right now.
  I'm facing an error while refreshing after the onWindowResize() event is called.
->'Uncaught TypeError: Cannot read property 'wdCenter' of undefined' error is called.

'this.dims' object cannot be called as below.

pqgrid.dev.js:5913
refreshColumnWidths: function(ui) {
   contWd = this.dims.wdCenter,   -> this.dims is undefined
}

pqgrid.dev.js:5922
Uncaught TypeError: Cannot read property 'wdCenter' of undefined
    at pq.cRenderBody.refreshColumnWidths (pqgrid.dev.js:5922)
    at pq.cRenderBody.init (pqgrid.dev.js:19994)
    at $.paramquery.cRefresh.refresh (pqgrid.dev.js:7426)
    at pqgrid.dev.js:7377
    at pqgrid.dev.js:7387


Could you tell me if this is a bug or I'm doing something wrong?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Error while onWindowResize() event
« Reply #1 on: December 28, 2017, 12:29:49 pm »
I'm unable to reproduce the error in the demos.

Would you mind sharing the steps or a test case to reproduce this error.