求cxDBTreeList控件实例或用法。解决方案
求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/
------解决方案--------------------
同意红孩儿
用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/
------解决方案--------------------
同意红孩儿