ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Jignesh on March 11, 2020, 05:49:40 pm
-
Hi Paramvir,
How we will change disable cell value in jquery?
Below are my code:
--> column code
dt.push({
title: "Result", editable: false, , dataIndx: "testresult"
});
--> change cell value by code:
grid.updateRow(
rowIndx: 2,
newRow: { 'testresult': 'Cheese' }
});
Thanks,
Jignesh
-
Pass checkEditable: false to updateRow method.
https://paramquery.com/pro/api#method-updateRow
-
Hi Paramvir,
I have tried this code for diable column means editable false value change but It has not worked for me. Can you please give me demo code in fiddle?
I have also posted code in the start of the thread please look into this.
Thank you,
Jignesh
-
your updateRow method call also has a syntax error.
Please use this:
grid.updateRow({
rowIndx: 2,
checkEditable: false,
newRow: { 'testresult': 'Cheese' }
});