Author Topic: Click on pqgrid getting javascript exception getHeaderColumnFromTD  (Read 2513 times)

Gowthaman.Mathaiyan

  • Newbie
  • *
  • Posts: 5
    • View Profile
I am using free version of pqgrid. And I am trying to do local sorting but when I click on column header for sorting getting uncaught type error getHeaderColumnFromTD is not a function exception. Any idea please on where I am making mistake. Thank you in advance.

Gowthaman.Mathaiyan

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Click on pqgrid getting javascript exception getHeaderColumnFromTD
« Reply #1 on: December 18, 2019, 08:07:05 pm »
I am using free version of pqgrid. And I am trying to do local sorting but when I click on column header for sorting getting uncaught type error getHeaderColumnFromTD is not a function exception. Any idea please on where I am making mistake. Thank you in advance.
Seems like getHeaderColumnFromTD is initializing first time but the functions not available in the dynamic loaded screen where I need to show the grid

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Click on pqgrid getting javascript exception getHeaderColumnFromTD
« Reply #2 on: December 18, 2019, 08:39:39 pm »
Please share a jsfiddle.

Gowthaman.Mathaiyan

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Click on pqgrid getting javascript exception getHeaderColumnFromTD
« Reply #3 on: December 19, 2019, 10:33:39 am »
Thank you for the reply! I can share you the fiddle. But the code is same what it is there in tutorial page under getting started section. Grid is working fine when it is in standalone html file but not working when it is in my web application. The web application is single page application using jquery. I am loading the grid page dynamically by clicking the hyperlink.

Gowthaman.Mathaiyan

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Click on pqgrid getting javascript exception getHeaderColumnFromTD
« Reply #4 on: December 19, 2019, 11:50:36 am »
Issue is in my end that there was another Jquery UI library referred after the PQ Library. After removing that it got worked. Thank you!