<%#Eval("Type_ID")%>可以这样用
2011-03-01 10:50
169 查看
jsp导入插件:
插件下载地址:http://pan.baidu.com/share/link?shareid=549799148&uk=2368039448
tree pannel代码:
<script type="text/javascript" src="<%=request.getContextPath()%>/extjs/TreeCellEditing.js"></script>
插件下载地址:http://pan.baidu.com/share/link?shareid=549799148&uk=2368039448
tree pannel代码:
var tree = Ext.create('Ext.tree.Panel', { title: '动态加载节点的树', // 不使用Vista风格的箭头代表节点的展开/折叠状态 useArrows: false, width: 800, height: 550, store: treeStore, // 指定该树所使用的TreeStore rootVisible: false, // 指定根节点不可见 multiSelect:true, viewConfig: { plugins: { ptype: 'treeviewdragdrop', } },//这个是拽拉的插件,可以不用理会 columns:[ { xtype:'treecolumn', text:'text', writh:250, dataIndex:'text', field: 'textfield' },{ text:'info', dataIndex:'id', field: 'textfield' },{ text:'info', dataIndex:'desc', field: 'textfield' } ], selType: 'cellmodel', plugins: [ Ext.create('Ext.grid.plugin.CellEditing', { clicksToEdit: 2, listeners: { 'beforeedit':function(editor,e,eOpts ){ Ext.MessageBox.alert("hello word",e.record.id); } } }) ], renderTo: Ext.getBody() });
相关文章推荐
- 表单按回车自动提交 1、当form表单中只有一个<input type="text" name='name' />时按回车键将会自动将表单提交。 <form id='form1' action='a
- <input type="hidden" id="haha" name="wang" value="xiaodong" />
- input file控件限制上传文件类型 网页上添加一个input file HTML控件: 1 <input id="File1" type="file" /> 默认是这样的,所有文件类
- <script type="text/template">是干什么的,为什么要把html写在js中? 这是什么编程语言风格,都能这样用吗?
- <input id="pjdxid_1" type="hidden" value="${fwpj.CPjdxId }" />中hidden的用法
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />是什么
- 处理各大浏览器的<input type="file">显示风格迥异的问题
- <meta charset="utf-8"/>与<meta http-equiv="Content-Type">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">意思?
- <input type="file" />浏览时只显示指定文件类型
- <input type="file" />,美化自定义上传按钮
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">作用
- <input type="image"> 和 <img> 用法区别
- 清空页面上<input type="text" id="inputtext" runat="server">的值的方法
- 诡异的<input type="file">
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">是什么意思?
- <input type="button">和<button>区别
- <script type="text/html"></script> js模版使用
- <input type="radio" >与<input type="checkbox">值得获取
- asp.net中的<% %>,<%= %>,><%#eval("") %><%$ %>的使用 - Hackerman