存学 |jquery例子|Flex例子|ASP例子|.net学习

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…)

Leave a Comment :, , , , , more...

想要寻找什么?

使用此处的搜索功能来寻找您需要的:

找不到您要寻找的东西? 请与我们取得联系,然后告诉我们您需要什么!

推荐链接

以下网址经常出现在存学网络...