Extjs TreeStore autoload设置为false扔会自动加载解决方案

当treestore的root的expanded,以下简称expanded;tree.panel的rootvisible,简称rootvisible
expanded                   rootvisible        结果
true                             true                 ①treestore会自动加载
true                             false                ②treestore会自动加载
false                            true                 ③treestore不会自动加载
false                            false                ④treestore会自动加载

我想要的是③效果,即不自动加载树,当我需要的时候在加载。

猜你喜欢

转载自blog.csdn.net/dingfei136913/article/details/81232826