简体   繁体   English

如何在DevExpress中制作TreeView?

[英]How to make a TreeView in DevExpress?

I have a problem in revealing my data in treeview. 我在树形视图中显示数据时遇到问题。 I want to use a dataset to make an automatic childnode for the treeview. 我想使用数据集为treeview创建一个自动的子节点。 I want two columns 1st col is were the name of the payment then the other is for payment. 我想要两列1st col是付款的名称,然后另一个是付款的名称。

How can i do that? 我怎样才能做到这一点? Please help me. 请帮我。 Thank you in advance... 先感谢您...

A treeview is more for a hierarchical structure, with child and parent nodes. 树视图更适合具有子节点和父节点的层次结构。 It sounds like you need more of a table, which can be done more easily with a DataGridView. 听起来您需要更多的表,使用DataGridView可以更轻松地完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM