Author Topic: Error on page refresh  (Read 2840 times)

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Error on page refresh
« on: October 17, 2017, 03:15:25 pm »
Hello Team,

When i try to refresh page every time one error is coming and not able to load grid on page.

"Uncaught TypeError: t.on is not a function"

Please find attached image for reference.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Error on page refresh
« Reply #1 on: October 17, 2017, 04:46:24 pm »
Please use jQueryUI v1.11.4

if the error is not resolved, then send new error stack trace with pqgrid.dev.js ( not pqgrid.min.js ) and the version of grid.

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Error on page refresh
« Reply #2 on: October 17, 2017, 05:03:34 pm »
Hello Team,

i am using same jquery library which you mention.

https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js

and also i'm using pggrid.dev.js and the version of grid is Pro v4.0.0

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Error on page refresh
« Reply #3 on: October 18, 2017, 09:49:45 am »
It's pqgrid.min.js and jqueryui 1.11.1 in your error stack trace.

EPM Solutions

  • Pro Ultimate
  • Full Member
  • *
  • Posts: 182
    • View Profile
Re: Error on page refresh
« Reply #4 on: October 26, 2017, 02:34:06 pm »
Hello Team,

As suggested but got same error on refresh page.

i tried pqgrid.dev.js and jqueryui-1.11.4 and also tried with pqgrid.min.js and jqueryui-1.11.4 but same result.
Please check this issue and give your feedback on this..

Please find attached screenshot for error stack.

 

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Error on page refresh
« Reply #5 on: October 27, 2017, 09:11:14 am »
Error stack trace indicates that incorrect parameters have been passed to pq.grid constructor somewhere in your code.

Please check all the code instances where you have used pq.grid constructor.

Code: [Select]
  pq.grid(".selector", obj ); //where obj is initialization object.

If you are unable to figure out, then please share a test case wherein the error can be reproduced.
« Last Edit: October 27, 2017, 09:13:51 am by paramquery »