Author Topic: Getting error in console when selecting checkbox  (Read 2335 times)

bsolteam

  • Pro Deluxe
  • Full Member
  • *
  • Posts: 107
    • View Profile
Getting error in console when selecting checkbox
« on: January 24, 2017, 06:33:31 pm »
Hi Team,
         When i am selecting checkbox present in my grid i am getting exception. Based on the checkbox value i am loading values for another grid. Kindly give me your suggestion why i am getting this js exception. Please find the attached screen shot. Thanks in advance.

 $( "#VoyageDetails_tab_main" ).on( "pqgridrowunselect", function( event, ui ) {});
 $( "#VoyageDetails_tab_main" ).on( "pqgridrowselect", function( event, ui ) {});

uncaught TypeError: Cannot read property 'pqval' of undefined
    at k.paramquery.cCheckBoxColumn.h.setValCBox (PoolPoint.Pqgrid.min.js:367)
    at k.paramquery.cCheckBoxColumn.h.raiseEvent (PoolPoint.Pqgrid.min.js:372)
    at k.paramquery.cCheckBoxColumn.h.cellClick (PoolPoint.Pqgrid.min.js:370)
    at HTMLDivElement.<anonymous> (PoolPoint.Pqgrid.min.js:365)
    at HTMLDivElement.dispatch (1.9.1.jquery.min.js:3)
    at HTMLDivElement.v.handle (1.9.1.jquery.min.js:3)
    at Object.trigger (1.9.1.jquery.min.js:3)
    at HTMLDivElement.<anonymous> (1.9.1.jquery.min.js:4)
    at Function.each (1.9.1.jquery.min.js:3)
    at init.each (1.9.1.jquery.min.js:3)
    at init.trigger (1.9.1.jquery.min.js:4)





Thanks & Regards
Bsol Team
« Last Edit: January 24, 2017, 07:42:59 pm by bsolteam »

Zurdy

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: Getting error in console when selecting checkbox
« Reply #1 on: January 25, 2017, 11:27:07 am »
Are you still getting this error?

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Getting error in console when selecting checkbox
« Reply #2 on: January 25, 2017, 12:19:16 pm »
Please share version of pqgrid and a small test case to reproduce the error.