Dorado 9 : DataTree(DCUG)

基本说明

DataTree的基本属性和使用方法与Tree一致,本文不再做详细说明,详情请参考:Tree(DCUG)

与Tree最大的不同是:Tree通过nodes属性定义内部的树节点,而DataTree通过其所设定的DataSet和DataPath属性所计算得到的EntityList作为自身的树节点。

关于DataSet和DataPath的设定和使用技巧请参考:DataControl(DCUG)#显示一个集合类对象

使用简介

参考范例:http://bsdn.org/projects/dorado7/deploy/sample-center/com.bstek.dorado.sample.Main.d#40350

配套说明文档:递归树(sample-center)

 

另一个范例:http://bsdn.org/projects/dorado7/deploy/sample-center/com.bstek.dorado.sample.Main.d#123659