Tag: enableDrag
Ext treeplane 拖动 选择 enableDD enableDrag
by SaveLearn on 二.23, 2010, under EXT
Ext 的拖动效果是非常好的,但是用原始的例子做了个实验,拖动加选择弹页的时候会出现一个为空的报错,然后修改了一下,现在已经好了,大家多多支持啊
var sysctrlb = new Ext.tree.TreePanel({
id : ‘west-panel2′,
region : ‘west’,
title : ‘文章管理’,
iconCls : ‘book’,
split : true,
width : 200,
minSize : 175,
maxSize : 400,
collapsible : true,
margins : ’0 0 5 5′,
enableDrag:true,
enableDD :true,
rootVisible : false,
lines : false,
autoScroll : true,
root : new Ext.tree.AsyncTreeNode({
text : ‘Manage’,
expanded : true,
children : [{
text : ‘新建用户’,
leaf : true
}, {
text : ‘用户列表’,
leaf : true
}, { (continue reading…)