博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
jqgrid no url reset
阅读量:7086 次
发布时间:2019-06-28

本文共 1261 字,大约阅读时间需要 4 分钟。

如果发现 jqgrid 在运行中出现次错误,可能是以下原因

$('#@(ViewBag.tabcid + "_grid")').jqGrid('navGrid', '#@(ViewBag.tabcid + "_page")',       {//options           view: false,           del: ('@ViewBag.type' != null && '@ViewBag.type' == "1") == true,           add: false,           edit: false,           search: false,           refresh: true       },       {//edit options                  },       { // add options                 },       {//del options            reloadAfterSubmit: true, closeOnEscape: true//           , url: '@Url.Action("Delete")'           , beforeShowForm: function (form) {           }           , afterComplete: function () {               //jQuery("#shipFactorList_d").jqGrid('clearGridData', true);               //jQuery("#shipFactorList_d2").jqGrid('clearGridData', true);           }           , afterSubmit: function (response, formid) {               var data = JSON.parse(response.responseText);               if (data.status) {                   return [true, "OK", data.id];               }               else {                   return [false, data.errmsg];               }           }       },       {  },// search options        {  } //view options    );

 以上可以看到  options 中定义的按钮 应该 对应到每一个大括号

 

转载于:https://www.cnblogs.com/xuzai/p/4283274.html

你可能感兴趣的文章
HashMap和Hashtable的区别
查看>>
g++编译过程和动态链接库
查看>>
centos下安装python3
查看>>
28份精美简历
查看>>
windows下整合nginx与php
查看>>
让消费者觉得占了便宜
查看>>
改变ListView快速滑块的图像
查看>>
MySQL主主复制,出错
查看>>
caffe中数据库的设计
查看>>
网络爬虫更新策略和分布式抓取系统机构
查看>>
clang记录
查看>>
java在线预览txt、word、ppt、execel,pdf代码
查看>>
Javascript极速快感
查看>>
合作共赢位来_张亚超
查看>>
Graphics Animation
查看>>
Glow Label
查看>>
FullScreenAnimations
查看>>
iOS8企业项目实战---windows系统下安装虚拟机-mac系统
查看>>
编译ko文件
查看>>
hbase中安装和删除observer协处理器
查看>>