I have jqgrid
with inline editing mode
. What I want to accomplish is when changing cell value, another cell value to be changed too.
What I have for now is:
ondblClickRow: function (id) {
var selR = $(this).getRowData(id);
$("#" + $(selR.Inflow).attr("id")).keypress(function () {
$(obj.grid).jqGrid("setCell", id, "Inflow", "123321");
});
}
With this try the cell value is changed but edit mode is disabled after invoking setCell
. I want to change it but to stay in edit mode. Any ideas ?