Author Topic: Show/Hide columns not working in vs9.0.2  (Read 212 times)

gopigupta

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 37
    • View Profile
Show/Hide columns not working in vs9.0.2
« on: December 06, 2023, 09:45:37 am »
Hello,

I have updated prgrid to vs9.0.2. I am using show/hide functionality of columns using menuUI method. This functionality was working fine before update. But now it has stopped working and giving error when clicked on show/hide menu.

I tried to check code through below link but the functionality is not working in the demo site too.

https://paramquery.com/pro/demos/showhide_columns#:~:text=In%20the%20below%20example%2C%20the,grouped%20column%20parents%20in%20menu.

I am getting below error in developers tool. Please help to resolve this issue.

pqgrid.min.js:9 Uncaught TypeError: Cannot read properties of undefined (reading 'hideCols')
    at pqgrid.min.js:9:411706
    at Array.map (<anonymous>)
    at i.getMenuHtml (pqgrid.min.js:9:411663)
    at i.open (pqgrid.min.js:9:412724)
    at i.onMenuClick (pqgrid.min.js:9:413377)
    at i.onHeadCellClick (pqgrid.min.js:9:411494)
    at p (pqgrid.min.js:9:12092)
    at t._trigger (pqgrid.min.js:9:12674)
    at pq.cRenderHead.onHeaderCellClick (pqgrid.min.js:9:128060)
    at pq.cRenderHead.onHeaderClick (pqgrid.min.js:9:126213)

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6307
    • View Profile
Re: Show/Hide columns not working in vs9.0.2
« Reply #1 on: December 06, 2023, 11:12:54 am »
It works fine in v9.0.2

you mean you faced this issue in v9.1.0?