Actionscript 3 如何扩展Flex树控件中的特定节点
这是我正在使用的代码Actionscript 3 如何扩展Flex树控件中的特定节点,actionscript-3,apache-flex,flex3,Actionscript 3,Apache Flex,Flex3,这是我正在使用的代码 dp = CategoryParser.createDataProvider( Application.application.categoriesmanager.categoryBaseList); var xList:XMLList = dp..category.(hasOwnProperty("@categoryid") && @categoryid == 1491); categoryTree.expandItem(xList, true);
dp = CategoryParser.createDataProvider( Application.application.categoriesmanager.categoryBaseList);
var xList:XMLList = dp..category.(hasOwnProperty("@categoryid") && @categoryid == 1491);
categoryTree.expandItem(xList, true);
有两种方法:
tree.openItems=xList代码>此处的详细信息
或者在其他情况下,这个
有两种方法:
tree.openItems=xList代码>此处的详细信息
或者在其他情况下,这个