ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: joaosales on February 02, 2018, 02:31:39 pm

Title: Error : Cannot set property '_renderG' of undefined
Post by: joaosales 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.
Title: Re: Error : Cannot set property '_renderG' of undefined
Post by: paramvir 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.