extjs5备忘(2)
来源:互联网 发布:数据派发管理制度 编辑:程序博客网 时间:2024/06/14 03:32
<!DOCTYPE html>
<html>
<head>
<metahttp-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Welcome to ExtJS!</title>
<link rel="stylesheet"type="text/css"href="ext/build/packages/ext-theme-neptune/build/resources/ext-theme-neptune-all.css">
<scripttype="text/javascript"src="ext/build/ext-all.js"></script>
<scripttype="text/javascript"src="ext/trial/5.0.0/build/packages/ext-theme-neptune/build/ext-theme-neptune.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body></body>
</html>
本博客所有内容是原创,如果转载请注明来源
http://blog.csdn.net/myhaspl/
app.js
Ext.application({
name : 'MyApp',
launch : function() {
Ext.widget({
renderTo : Ext.getBody(),
xtype : 'grid',
title : '学生',
width : 650,
height : 300,
plugins : 'rowediting',
store : {
fields : [ 'name', 'age','sex', 'score' ],
data : [
[ '张三', 35, '男', 98.5 ],
[ '李四', 29, '女', 68.4 ]
]
},
columns: {
defaults: {
editor : 'numberfield',
width : 120
},
items: [
{ text: '名字',dataIndex: 'name', flex: 1, editor: 'textfield' },
{ text: '年纪',dataIndex: 'age' },
{ text: '性别',dataIndex: 'sex' , flex: 1, editor: 'textfield' },
{ text: '成绩',dataIndex: 'score' }
]
}
})
}
});
- extjs5备忘(2)
- extjs5备忘(1)
- 学习Extjs5.1 操作备忘
- ExtJs5+Spring.Net+MVC项目搭建笔记--前台ExtJS搭建(2)
- 关于ExtJS5的初步研究(二)
- Extjs5 Ticket App 实例(一)
- Extjs5 Ticket App 实例(二)
- 玩转extjs5之使用Sencha Cmd自动创建extjs5项目(二)
- Java 基础(备忘2)
- curl语言备忘(2)
- c++基础备忘(2)
- python爬虫备忘(2)
- 跟我一起学extjs5(09--自定义菜单2)
- Extjs5.0(2):手动搭建MVVM架构项目
- 玩转extjs5之extjs初识(一)
- 玩转extjs5之Ext.data.proxy.Ajax(六)
- Extjs5的mvc与mvvm框架(文件理解)
- Extjs5 Gridpanel
- AFNetworking2.5使用
- [note] loadrunner11初学记录
- UVA 11646 - Athletics Track(计算几何)
- poj1185 三维状压dp
- 项目管理的通俗理解
- extjs5备忘(2)
- 使用porttunnel进行内外网端口映射
- leetcode Add Binary
- Linux VPS下SSH常用命令
- Bamboo的windows安装
- 归并排序算法
- 喜羊羊系列之进程与线程
- Android SQLite升级 数据迁移
- WebView 加载 html