zoukankan      html  css  js  c++  java
  • jqgrid 修改后提交参数修改与删除

    属性 serializeRowData内完成修改

    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;
                                                    },

  • 相关阅读:
    实战-百度云[大文件/文件夹]下载限制破解
    IOCP之客户端及消息传递
    IOCP简单实现
    Charles V4系列更新 | 绿色特别版 | 视频教程
    Charles 3.11.5 绿色特别版
    VC运行库合集2005/2008/2010/2012/2013/2015
    手游测试之《弱网测试》
    后端性能测试不可不知的二三事
    linux性能指标及分析工具
    Shell笔记-04
  • 原文地址:https://www.cnblogs.com/rspb/p/5710577.html
Copyright © 2011-2022 走看看