日期:2014-05-16  浏览次数:20474 次

Ext Ext.Decode = Ext.util.JSON.Decode 方法介绍
在使用Ext 执行数据操作的时候 ,有时候我们需要和后台服务器交换数据,

        如果是做表单数据提交的时候由于要提交大量数据,我们通常的方法是:

{
                    name: "save",
                    id: "save",
                    text: "保存",
                    tooltip: "保存公司信息",
                    disabled: true
                    , handler: function() {
                        var baseForm = companyFormPaenl.getForm();


                        if (baseForm.isValid()) {
                            //弹出效果
                            Ext.MessageBox.show({
                                msg: '正在保存,请稍等...',
                                progressText: 'Saving...',
                                width: 300,
                                wait: true,
                                waitConfig: { interval: 200 }


                            });


                            baseForm.submit({
                                url: "URL/CompanyInfo/SaveCompanyInfo.aspx",
                                method: "POST",
                                success: function(form, action) {
                       &nbs