EXt6js创建一个页面
2016-10-27 10:18
141 查看
/** * Created by Cy on 2016/10/17. */ Ext.define('BSWeb.view.business.communityinfo.CommunityInfo', { extend: 'Ext.grid.Panel', title: '小区管理', layout: 'fit', closable: true, itemId: 'CommunityItemId', columnLines: true, viewConfig: { //sortAscText:'123445' }, requires: [ 'BSWeb.store.business.community.Community', 'BSWeb.view.business.community.CommunityController', 'BSWeb.view.business.communityinfo.AddCommunity', 'BSWeb.view.business.communityinfo.Updacommunity' ], store: { type: 'Communitystore' }, //defaults: { //}, controller: 'CommunityInfo', columns: [ { xtype: 'rownumberer' }, { text: '小区编号', dataIndex: 'V_CommNo', sortable: true, menuDisabled: true, locked: true }, { text: '所属楼盘', dataIndex: 'V_ProperName', sortable: true, menuDisabled: true, locked: true }, { text: '小区名称', dataIndex: 'V_CommName', sortable: true, menuDisabled: true, locked: true }, { text: '小区地址', dataIndex: 'V_Address', sortable: true, menuDisabled: true }, { text: '小区负责人人', dataIndex: 'V_Person', sortable: true, menuDisabled: true }, { text: '小区负责人人电话', dataIndex: 'V_PersonPh', sortable: true, menuDisabled: true }, { text: '小区总面积', dataIndex: 'De_CommArea', sortable: true, menuDisabled: true }, { text: '小区绿化面积', dataIndex: 'De_GreenArea', sortable: true, menuDisabled: true }, { text: '小区路面总面积', dataIndex: 'De_RoadArea', sortable: true, menuDisabled: true }, { text: '小区停车场总面积', dataIndex: 'De_ParkArea', sortable: true, menuDisabled: true }, { text: '小区停车场车编号', dataIndex: 'V_ParkNo', sortable: true, menuDisabled: true }, { text: '物业中心位置', dataIndex: 'V_PropAddress', sortable: true, menuDisabled: true }, { text: '物业中心负责人', dataIndex: 'V_PropName', sortable: true, menuDisabled: true }, { text: '物业中心电话', dataIndex: 'V_PropPhone', sortable: true, menuDisabled: true }, { text: '是否有门禁', dataIndex: 'Bi_IsAccControl', sortable: true, menuDisabled: true }, { text: '填报人账户', dataIndex: 'In_FillrAccount', sortable: true, menuDisabled: true }, { text: '添加人名称', dataIndex: 'V_Fllr', sortable: true, menuDisabled: true }, { text: '添加时间', dataIndex: 'De_FillrTime', sortable: true, flex: 1, lockable: true, menuDisabled: true, xtype: 'datecolumn', format: 'Y-m-d H:i:s' }, { text: '备注', dataIndex: 'T_Note', sortable: true, menuDisabled: true }, ], //分页 dockedItems: [{ xtype: 'pagingtoolbar', itemId: 'CommunityPageItemId', dock: 'bottom', displayInfo: true, nextText: '下一页', firstText: '首页', lastText: '尾页', prevText: '上一页', beforePageText: '上一页', afterPageText: '下一页', displayMsg: '信息:从 {0} 条 到 {1} 条 总共 {2} 条', emptyMsg: '当前没有信息', store: { type: 'Communitystore' } }], //操作栏 tbar: [ //'->', { text: '增加', icon: 'resources/application_form_add.png', itemId: 'add' }, '-', { text: '修改', icon: 'resources/application_form_edit.png', itemId: 'update' }, '-', { text: '删除', icon: 'resources/application_form_delete.png', itemId: 'delete' }, '-', { xtype: 'textfield', itemId: 'searchText', enableKeyEvents: true }, { text: '姓名查询', icon: 'resources/application_form_magnify.png', itemId: 'search' } ] // // selModel:{ // selType:'checkboxmodel' // } })
相关文章推荐
- 用CSS创建一个布局居中的页面
- ASP动态网页创建一个简单页面
- 使用Jquery向一个空白网页动态创建一个iframe,及嵌入页面,和向嵌入页面传参
- 使用tornado创建一个简单的图书介绍页面
- sencha touch 当没有进入过一个页面时,要写代码自动创建
- IronPython for ASP.NET:使用IronPython创建一个简单的Web页面
- 一个页面创建多个tableView 相关联(省市区数组)
- Js Jquery创建一个弹出层(当加载一个页面进弹出层时出现乱码)
- Ecshop二次开发:如何创建一个自定义页面(一)
- 【Java】向一个页面发送post请求并获取其处理之后的结果与用javascript创建一个表单后提交的安全性
- ASP动态网页创建一个简单页面
- ITEXT实例学习与研究(二) 之 创建一个细长的浅黄色背景的页面以及纵向页面与横向页面之间的切换
- 使用Jquery向一个空白网页动态创建一个iframe,及嵌入页面,和向嵌入页面传参
- Django学习笔记(二)创建一个简单页面
- Jquery,css如何创建一个悬浮的广告页面?
- 利用ASP.NET创建一个像 Google 的个性化主页(ig)那样的页面
- 创建一个简单注册页面步骤
- UIPageControl + UIScrollView 创建一个页面指示器控件
- 用Swing创建一个“注册页面”
- echarts---一个页面内创建多个图表