as above,
when declaring treepanel, if u set rootVisible:false, gives problems.....
Regards
when declaring treepanel, if u set rootVisible:false, gives problems.....
Regards

|
#2
|
|
Hi,
I'm using treepanel through all the series from 0.33 to 1.0a2rev3 without problems in IE6, FF2, Opera9. How your problem demonstrate? EDIT: of course i'm using it with rootVisible:false... ![]() |
|
#3
|
var tree = new Tree.TreePanel('tree-div', {
animate:true,
loader: new Tree.TreeLoader({dataUrl:'data.php'}),
enableDD:false,
containerScroll: true,
rootVisible:false
});
tree.on('load', function(){
var f = tree.getNodeById("fechas");
if(f) {f.expand()};
});
Thanks and Regards ![]() |
|
#4
|
|
Possibly it is something with the
loader: new Tree.TreeLoader({dataUrl:'data.php'}),
![]() |
|
#5
|
|
noting wrong with the loader....
if u try with Jack example, add rootVisible:false Regards ![]() |
|
#6
|
|
I think the example has a loader too / that said I was thinking not your loader has a problem but treeloader as general has a problem - which I can't confirm.
But tree/treepanel without an "loader" works without root visible very well for me and never had a bug in these fast-changing times ![]() ![]() |
|
#7
|
|
The image organizer uses rootVisible:false and works fine. If you want help, you need to include more info than "it's broken".
![]() |
|
#8
|
|
Jack,
in your example reorder.js just replace with following, and you'll see there is a prob... var tree = new Tree.TreePanel('tree-div', {
animate:true,
loader: new Tree.TreeLoader({dataUrl:'get-nodes.php'}),
enableDD:true,
containerScroll: true,
rootVisible:false
});
![]() |
|
#9
| |
|
Hi Jack.
I have the same problem. If I set rootVisible:false it break, but with rootVisible:true it works. This is from Firebug: Quote:
![]() |
|
#10
|
|
Thanks Jack...
Works great in revision 5. ![]() |
讨论了在使用ExtJS库时遇到的问题:当设置TreePanel的rootVisible属性为false时出现的错误。用户在不同版本的ExtJS中尝试了此配置,并在特定情况下发现面板无法正常加载。

23

被折叠的 条评论
为什么被折叠?



