在jqGrid中使用afterSaveCell [英] Use Of afterSaveCell in jqGrid

查看:593
本文介绍了在jqGrid中使用afterSaveCell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Jqgrid. 在其中我使用afterSaveCell偶.但是在这个偶数函数中不能调用.所以出什么问题了,请告诉我. 我的代码

I am use Jqgrid. in which i use afterSaveCell Even. But in this even function can not call.so What's Problem Please Tell me. My Code

jQuery("#list").jqGrid(
{
....
editurl:"editMedicineGridData.html",
onCellSelect : function(rowid, iCol, cellcontent) {
 ..
},
gridComplete: function(){ 
 calculateTotal();
},                                          afterSaveCell: function (rowid, name, val, iRow, iCol) {
 alert("After Save Cell");
 calculateTotal();
}

在此代码中,onCellSelect和gridComplete正常工作,但是afterSaveCell无效 我正在使用jqgrid 4.4.1. 请帮忙. 预先感谢.

In this Code onCellSelect and gridComplete is Working but afterSaveCell is not working I am use jqgrid 4.4.1 . please help. Thanks in Advance.

推荐答案

您没有发布使用的jqGrid的完整代码,所以我只能猜测您的操作.我想您将 other的其他编辑模式用作单元格编辑.回调 afterSaveCell 只能用于单元格编辑而不是表单编辑的内联编辑.

You don't posted more full code of jqGrid which you use, so I can only guess what you do. I suppose that you use editing mode other as cell editing. The callback afterSaveCell can be used only with respect of cell editing and not with inline editing of form editing.

这篇关于在jqGrid中使用afterSaveCell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆