tree 有没有获取临近节点的方法 即 有 A,B,C 三个同级节点 点击B节点可以获取到A,C 两个节点
现在我做的功能是左键点击tree的节点做关联检索,右键弹出菜单选项。但现在的nodeselect监听是左右键全部监听,我想做到右键点击节点是不做关联检索。 ...
能否去掉treegrid的分页机制,改成滚动加载? 就是去掉下面的分页,然后鼠标向下滚动,加载数据。
2017-6-30 11:01 - 2641331359 - 技术交流
tree能不能设置背景颜色和字体颜色
关于miniui tree的问题,首次加载的一棵树 , 完了我重新加载另一棵树 var tree = tree = mini.get("tree1"); tree.setUrl('./tree.txt'); 导致第二棵树的expanded属性失效,全部默认展开了。 下面是第二棵树的 ...
2017-6-29 13:05 - zhaowenzhang - 技术交流
大家好,我目前在学习miniui,遇到一个问题,我在使用miniui pagertree时,想通过 getAllChildNodes ( node )获取所有叶子节点,但是每次浏览器都会报错 tree.getAllChildNodes is not function,我不懂在哪里有问 ...
如图,这是希望的页面,有没有什么方法可以在 里直接添加别的按钮,
不能使用padding来扩大可点击范围 因为我还要使用双击事件,不然我双击时,会先触发单击事件,xu
2017-6-21 12:33 - sarahshine - 技术交流
mini.get("guidprojectid").setEnabled(false); 出现了 Cannot read property 'setEnabled' of undefined 之前用的Combobox 没出现这个问题
一般是把url="xxxx?aa=1&bb=2" 这看起来像get传递方式,那么除了这种传递参数方式还有其他方式吗?比如说post方式,有没有案例。
2017-6-19 14:23 - wj597362899 - 技术交流
为什么后台传到前台的JSON没错,但是如果TREEGRID设定parentField属性,所有parentId都为-1,去掉parentField属性之后,表里所有parentId又都为正确值
给OutlookTree的数据是懒加载,首次生成只生成根节点,就是只显示抽屉板。子节点数据想通过拉开(点击)抽屉板事件来加载,但找了API却没有这类事件。就是拉开或推上抽屉都不会触发任何事件,这该咋办啊。 ...
outlooktree 如何实现下面的功能 点击 菜单隐藏栏时,同时也隐藏 页眉,点击显示菜单栏时 同时显示 页眉。
我用前端过滤之后勾选父节点,默认设置勾选父节点时勾选以下所有子节点,为什么也会把过滤掉的子节点也勾选上啦
在tree里面,如何获取上一级或所有上级的数据呢, 比如获取指定数据上一级的名字,或他所有的上级数据,这个怎么获取呢,,用于做导航。。
表单中有一个栏位是tree的key , value的显示形式,通过form.setData(data);初始化表单数据时,普通栏位都可以被初始化,只有这个tree栏位显示不了名称,但是通过调试可以发现,此栏位ID已经赋值成功,只是显示不了名 ...
2017-6-11 18:58 - simple0145 - 技术交流
如题,类似于截图中的添加模式
-------像这个图一样,,默认只有root一个节点,没有其他数据,当点击第一个root缩起来,再点击第一个root展开,下面就会再出来一个root,,,如此会出来无数个root,,,请问如何解决这个问题呢。。。。 ...
miniui treeSelect设置只能选择叶子节点,部分叶子节点不可选
如何设置使得tree组件里部分节点有checkbox部分没有?
2017-6-1 09:22 - a793955696 - 技术交流