I am using jqgrid 3.8. I have a grid that has some editable columns. I also have an update button to save the contents of the grid on the server.
If the user clicks on the cell to be edited and changes the content, and then clicks the refresh button, I do the following: (after clicking on the cell user clicks the refresh button directly)
First I call the jqGrid 'savecell' method with iRow, iCol. here the cell is saved / shows a popup for checking.
but I need a callback to find out if cell / is not saved so that I can stop or continue my save functions.
my sample code is like this
function updateGrid(){
$(gridid).jqGrid('saveCell', grideditRow, grideditCol);
var changedCells = $(gridid).jqGrid('getChangedCells', 'dirty');
}
SaveCell, savecell . saveCell jqgrid.
- , true/false savecell savecell?