Uncaught TypeError: Cannot set property 'applyDefaults' of undefined
来源:互联网 发布:二维数组的遍历 编辑:程序博客网 时间:2024/05/20 09:23
EXT TOMCAT
点击edit时,报错
解决
1.调顺序
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>View Test Case</title>
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/ext-all.css">
<link rel="stylesheet" type="text/css" href="../extjs/resources/css/buttonIcon.css">
</head>
<body>
<script type="text/javascript">
var rowValues = ${rowValues};
</script>
<script type="text/javascript" src="../extjs/ext-all.js"></script>
<script type="text/javascript" src="../js/jquery/jquery-1.7.2.min.js"></script>
<script type="text/javascript" charset="utf-8" src="../extjs/ext-all-debug.js"></script>
<script type="text/javascript" charset="utf-8" src="../js/viewTestSuite/ViewTestSuite.js"></script>
</body>
</html>
2.调顺序
var myColumns = [];
rowValues.forEach(function(e) {
var obj = {
flex : 1,
sortable : false
};
obj.text = e;
obj.dataIndex = e;
myFields.push(e);
myColumns.push(obj);
});
myColumns[0].xtype = 'treecolumn';
//model:要显示的列的模型
Ext.define("DeptModel", {
extend : "Ext.data.Model",
fields : myFields
});
Ext.onReady(function() {})
- Uncaught TypeError: Cannot set property 'applyDefaults' of undefined
- Uncaught TypeError: Cannot set property 'mobile' of undefined
- TypeError: Cannot set property 'user' of undefined
- jquery.mobile-1.4.5.min.js:3 Uncaught TypeError: Cannot set property 'mobile' of undefined
- Uncaught TypeError: Cannot set property '0' of undefined 关于JavaScript多维数组
- 【JavaScript】页面加载 解决Uncaught TypeError: Cannot set property of undefined at
- Extjs4---Uncaught TypeError: Cannot read property ‘items’ of undefined
- 【StackFlow】Uncaught TypeError: Cannot read property 'pageCount' of undefined
- Ckeditor: Uncaught TypeError: Cannot read property 'keyCode' of undefined 解决方法
- Uncaught TypeError: Cannot read property 'msie' of undefined问题解决方案
- Uncaught TypeError: Cannot read property 'options' of undefined 错误
- Uncaught TypeError: Cannot read property 'length' of undefined
- 错误:Uncaught TypeError: Cannot read property 'WebSocket' of undefined
- Uncaught TypeError: Cannot read property 'value' of undefined
- Uncaught TypeError: Cannot read property 'plugin' of undefined
- react Uncaught TypeError: Cannot read property 'title' of undefined
- Uncaught TypeError: Cannot read property 'width' of undefined
- Uncaught TypeError: Cannot read property 'substring' of undefined
- AWK入门教程
- LightOJ 1022 【读题】
- rsync
- css常见的一些功能和技巧经验
- php工程师如何达到15K
- Uncaught TypeError: Cannot set property 'applyDefaults' of undefined
- 淘宝API系列
- 数据结构:数组、链表、堆栈、队列
- MySQL 中隔离级别 RC 与 RR 的区别
- LeetCode 419. Battleships in a Board 解题报告
- 修饰符之static
- mybaties配置文件
- 201-委托的定义和使用
- easyui中window、panel、dialog在移动时,超出边框修复