Author Topic: Error : Cannot set property '_renderG' of undefined  (Read 1760 times)

joaosales

  • Pro Enterprise
  • Newbie
  • *
  • Posts: 20
    • View Profile
Error : Cannot set property '_renderG' of undefined
« on: February 02, 2018, 02:31:39 pm »
Hi,
I've being trying to build a new simple grid to test some features but i seem to run at a problem I can't  figure.
Whenever the code gets to the point of building the grid:
pq.grid("#grid_data", obj);

I get this error message

jQuery.Deferred exception: Cannot set property '_renderG' of undefined


And the grid appears compressed at the page and with no data loaded.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Error : Cannot set property '_renderG' of undefined
« Reply #1 on: February 02, 2018, 06:58:10 pm »
You haven't shared code of obj.

So based on guess, are you using groupModel?

groupModel.dataIndx, groupModel.groupCols is an array of dataIndx. Error may occur if groupModel.dataIndx values are incorrect, i.e., don't exist in colModel.

Please share a jsfiddle/ plnkr so that I can check it if error still persists.
« Last Edit: February 02, 2018, 09:23:40 pm by paramquery »