General Category > Help for ParamQuery Pro
setting editable == 'function' in column model
(1/1)
Ron Hess:
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
Ron Hess:
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 });
Ron Hess:
The 2.0.0a version has fixed this issue, thanks.
Navigation
[0] Message Index
Go to full version