项目组非要上jeeweb框架,用jqgrid+大量iframe做为前端框架,臃肿不堪。

  今天上午,在进行选定操作jqGrid('setSelection',rowid)报Cannot read property 'multiple' of undefined,怎么分析也找不出原因,最后百度搜了一下竟然有许多哥们遇到过类似的问题。

  原因是我的select标签需要动态加载option,所以我没有写dict这个属性(为了后面动态生成),谁知jqgrid框架就报错,不得已只有给一个dict的默认字典,虽然这个字典和我要加的毫无关联。

1 <grid:columnlabel="子项"name="subItem"editable="true"edittype="select"dict="temp" />

  纠结了好久,怀疑了好久,感谢互联网的发展,感谢搜索引擎,不然又要求人帮忙,能不求人就不求人,非常简单的事如果求人可能会搞得非常复杂。

jqGrid('setSelection',rowid)报Cannot read property 'multiple' of undefined相关推荐

  1. 使用JQuery Validate插件的报Cannot read property 'settings' of undefined错误的解决方法

    一.问题描述: 因为最近在做动态表单,很多字段需要动态添加验证,而我在动态添加删除校验规则时,浏览器经常报Cannot read property 'settings' of undefined,每次 ...

  2. 微信小程序报Cannot read property ‘setData‘ of undefined的错误

    微信小程序报Cannot read property 'setData' of undefined的错误 最近在学习开发微信小程序,记录下项目中遇到的一个报错. 具体报错如下: 这时打印下this发现 ...

  3. create-react-app创建的项目配置多入口MPA模式。报Cannot read property ‘filter’ of undefined

    create-react-app创建的项目配置多入口MPA模式.报Cannot read property 'filter' of undefined 多入口配置 一.首先eject项目 执行npx ...

  4. 微信小程序报Cannot read property 'setData' of undefined的错误

    最近在学习微信小程序的开发,让我吐槽的是,都9102年了,怎么还是有有时不能复制,有时不能打中文的bug呢,这个时候,你可以Ctrl+shift+w一下,如果还不行,那就得重启了.. 进入正题吧,刚在 ...

  5. 前端页面:一直报Cannot set property 'height' of undefined

    1.出现错误的例子,只拷贝了项目中关键出现问题的部分 例子中明明写了style='height:16px'这个属性,但是为什么还说height未定义呢 通过打印发现:cks.each(function ...

  6. Cannot read property ‘replace‘ of undefined

    微信小程序之坑坑坑..... (ಥ﹏ಥ)(ಥ﹏ಥ)(ಥ﹏ಥ) 微信小程序报"Cannot read property 'replace' of undefined",原因有以下可能 ...

  7. Cannot read property 'parentElement' of undefined问题解决

    百度地图个性化地图V2,报Cannot read property 'parentElement' of undefined错误 做一个项目过程使用到百度地图个性化地图,使用方法map.setMapS ...

  8. Vue开启Gzip打包异常:webpack打包报错Cannot read property ‘emit‘ of undefined

    Vue开启Gzip打包异常:webpack打包报错Cannot read property 'emit' of undefined 相关代码 const CompressionPlugin = req ...

  9. SAP WM 执行VL06P为交货单创建组,报错-TO for multiple deliveries only with delayed delivery update-

    SAP WM 执行VL06P为交货单创建组,报错-TO for multiple deliveries only with delayed delivery update- 1, 如下销售订单728, ...

最新文章

  1. 51nod1228 序列求和(伯努利数)
  2. elasticsearch index、create和update的源码分析
  3. Seq2Seq中Exposure Bias现象的浅析与对策
  4. PyCharm个性化设置及注意事项
  5. PHP Collection 类
  6. LiveVideoStack线上分享第五季(一):企业视频会议场景下的流量分发和弱网优化...
  7. NCF框架揭秘直播来了!红包、抽奖、还有神秘嘉宾…(内含彩蛋)
  8. php三种web开发技术,三种WEB开发主流技术ASP-PHP-JSP的评价
  9. LeetCode 117. 填充每个节点的下一个右侧节点指针 II(递归循环)
  10. 微服务精华问答 | 如何理解中台战略和微服务
  11. Windows 7服务器版 2008 R2安装图解
  12. 计算机音乐绅士教程,教你学唱薛之谦的《绅士》,这个技巧很实用值得收藏!...
  13. 课节6: 图神经网络进阶模型之 ERNIESage 上
  14. [WebKit] JavaScriptCore解析--高级篇(一) SSA (static single assignment)
  15. PS如何压缩图片而不失真
  16. matlab如何画tanx图像,MATLAB画出sinx cosx tanx 图像
  17. 零信任是一次绝地反击
  18. 1138 清除行注释
  19. Lisp基础函数:car, cdr, cons...
  20. Arty A7-100(XC7A100TCSG324)开箱照

热门文章

  1. 大学慕课数据结构单元测试——华中科技大学
  2. python爬虫--如何爬取翻页url不变的网站
  3. apt-get 获取源码的方法
  4. Vue 3源码剖析,看这篇就够了
  5. (送书和红包)快人一步,掌握前端函数式编程
  6. sass和compass基础用法
  7. 一天掌握Android JNI本地编程 快速入门
  8. 5.4 Spring AOP
  9. ObjectAnimator属性动画应用demo
  10. Tiny模板语言(VelocityPlus)初步入门