ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Ron Hess on October 07, 2013, 12:11:07 am
-
i get an exception from this line
--
[11:37:37.209] ReferenceError: dataIndx is not defined @ https://c.cs11.visual.force.com/resource/.... 2272
on our about line 2272 in the 2.0.0 pro src is the call to my function, however dataIndx is not in scope
if(typeof cEditable=="function"){
var rowIndx = objP.rowIndx,
rowData=thisOptions.dataModel.data[rowIndx];
return cEditable.call(this.element, {rowIndx: rowIndx, rowData:rowData,colIndx:colIndx, dataIndx:dataIndx });
}
i will try to remove dataIndx from this line
-
i can confirm that my code is working with this change to pqgrid.dev.js ( remove dataIndx:dataIndx)
return cEditable.call(this.element, {
rowIndx: rowIndx,
rowData:rowData,
colIndx:colIndx });
-
The 2.0.0a version has fixed this issue, thanks.