ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started by: mailsrikanta on April 01, 2014, 01:08:40 pm
-
I used the refreshCell method after cellsave event
$grid.pqGrid("refreshCell", { rowIndx:ui.rowIndxPage, colIndx:8 } );
Bul the data not showing instantly after refresh the cell
I am making the modification in colIndex 4 need to show the data in colindx 8 instantly
-
your question is not clear enough.
refreshCell refreshes the view of a cell. it is usually used after making changes in dataModel.data[rowIndx][dataIndx]
could you provide an example on jsfiddle what you are trying to do.
-
Here is the jsfiddle URL http://jsfiddle.net/mailsrikanta/LAgZx/245/
I want to change some value
When I change the value of "Srikant" to "Srikanta"
then I want to replace the content "339,938.0" to "Srikanta" by refreshing cell
Note: I added the value to database onblur event of "Srikant"
-
your jsfiddle looks incomplete, where is "Srikant" and where is the code to modify that. Am I missing something
-
Forgot to update the jsfiddle
Here is the updated one
http://jsfiddle.net/mailsrikanta/LAgZx/252/
-
in this example any change in company cell causes change in corresponding profits cell in the same row.
http://jsfiddle.net/LAgZx/255/
-
Thanks for the solution.