189 8069 5689

jqgrid修改后提交参数修改与删除-创新互联

属性 serializeRowData内完成修改jqgrid修改后提交参数修改与
删除

serializeRowData : function(data) {

在克井等地区,都构建了全面的区域性战略布局,加强发展的系统性、市场前瞻性、产品创新能力,以专注、极致的服务理念,为客户提供网站设计、成都网站设计 网站设计制作按需网站开发,公司网站建设,企业网站建设,品牌网站制作,全网营销推广,外贸网站建设,克井网站建设费用合理。

return data;

}

删除

formatoptions:{ keys:true
                               , editformbutton:false,
                               editbutton : false,
                               // For multi-column keys, we need to pass additional data to the delete function
                               delOptions:{ url:"data.cfc?method=delRecord", reloadAfterSubmit:true, closeOnEscape:true, afterSubmit: actionStatus,
                                               serializeDelData: function (postdata) {
                                                   var rowdata = $('#list').getRowData(postdata.id);
                                                   // append postdata with any information
                                                   //return {id: postdata.id, oper: postdata.oper, year: rowdata.year, spc_cd: rowdata.spc_cd};
                                                   postdata.year = rowdata.year;
                                                   postdata.spc_cd = rowdata.spc_cd;
                                                   return postdata;
                                               },


名称栏目:jqgrid修改后提交参数修改与删除-创新互联
链接URL:http://jkwzsj.com/article/dhohih.html

其他资讯