ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: dtag1000 on November 10, 2017, 11:10:10 pm
-
Hello,
This function is causing an error:
function getRowIndx() {
var arr = $grid.pqGrid("selection", { type: 'row', method: 'getSelection' });
if (arr && arr.length > 0) {
return arr[0].rowIndx;
}
else {
alert("Select a row.");
return null;
}
im getting this error:
Uncaught Error: no such method 'selection' for pqGrid widget instance
-
API of row selection is changed in v4.x
https://paramquery.com/pro/upgrade/index
https://paramquery.com/pro/demos/crud