求cxDBTreeList控件实例或用法。
用cxDBTreeList控件显示如下数据表
id pid text
1 0 父节点
2 1 子节点
3 1 子节点
[解决办法]
cxDbTreelist1.DataController.DataSource;=\\
cxDbTreelist1.DataController.KeyField:= 'id '
cxDbTreelist1.DataController.ParentField:= 'pid '
[解决办法]
官方网站上有Demo
http://www.devexpress.com/Downloads/VCL/ExQuantumTreeList/
[解决办法]
同意红孩儿