ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: Robert on April 26, 2014, 04:11:48 am
-
I would like to change the value of a cell in code.
I have the row and proper dataIndx to reference the cell:
$grid.pqGrid("getCellData", { rowIndx: rowIndx, dataIndx: 'archived'});
I haven't been able to find a clear example of changing the value and updating the rowData.
Is there an example or tutorial you might direct me to?
Thank you!
-
There is an API for updating a row.
http://paramquery.com/pro/api#method-updateRow
$grid.pqGrid( "updateRow", { rowIndx: rowIndx, row: { 'archived': 'new value of the cell here' } } );
-
Thank you!