Hello Param,
I have apply the code you have given and it makes possibe to save the cell content when update any cell in a row. (
http://youtu.be/dgQkf22lh5w ) Thus there is no data loss. But servers work load increase too much. It would be great if update() function runs just after unfocus from <tr>.
Or as another solution; as you can see in the video (
http://youtu.be/AwIvb4E5mvc ), it marks the rows which include the cells I have updated.
If you can remove the flags and leave the others this will help as well. When flags go off data of the row will be saved as well.
When I “$grid.pqGrid("commit")” the update() function, after I made changes in 3 rows, and when I save the 2nd row flags go off, and datas on row 1 and 3 are not saved.
If I use “$grid.pqGrid("commit",{type:'update',rows: rowIndx})
” as you can see the video afer I save the data on the row 2, flags does not go off. And all flags go off If I go over any row.
It will also help if the flags go off on the row if it is save and other flags can be remain on the rows not saved.
Full Code:
http://jsfiddle.net/D7seJ/