ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: kshipra on June 07, 2017, 05:58:01 am
-
cellSave: function (evt, ui) {
if (ui.dataIndx === 'Validation') {
$grid.pqGrid("updateRow", { rowIndx: ui.rowIndx, row: { 'TargetedList': 'Private'}});
}
}
I have not included checking condition in code. But gist is :
if validation column cell value is changed to 'Fail', I would like 'TargetedList' column current row's cell to be updated to 'Private', But it not working with above code.
-
Your code looks fine unless you have misspelled some field name or $grid doesn't point to related grid.
Please share a jsfiddle if you want me to look into it.