再presenting分层数据.NET的WinForms [英] Representing hierarchical data .net winforms

查看:124
本文介绍了再presenting分层数据.NET的WinForms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎么能重新present以下分层数据? 应该用什么样的控制,如果可能的例子会有所帮助。

How i can represent the following hierarchical data ? What control should be used , if possible example will help.

-node 
-----node1 - -data--data --data
-------------node111 -- data -- data
-------------node112 -- data -- data
-------------node113 -- data -- data
-----node2 - -data--data --data
-------------node1121 -- data -- data
-----node3 - -data--data --data

如果可能的话,我需要投入大部分细胞几个图标。

and if possible i need to put in most of the cells several icons .

我发现这个教程<一个href="http://www.$c$cproject.com/KB/tree/DropDownTreeView.aspx?fid=318338&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26#xx0xx"相对=nofollow>链接,能有人支持我的更多信息?

I have found this tutorial Link , can someone support me more information ?

这是可能的,如果是怎样?

Is that possible if yes how ?

多谢了。

推荐答案

内置的Windows窗体控件不为这个伟大的。你实际上寻找的是一个树网格混合控制(AKA多列树视图或TreeList中)。

The built-in Windows Forms controls aren't great for this. What you're actually looking for is a tree-grid hybrid control (AKA multi-column tree view or TreeList).

DevEx preSS有 XtraTreeList ,这是我使用的(不是免费的),并可能是最接近你问什么。 Telerik的 GridView的也可以在一个分层的方式显示网格数据,如果你设置了分组正确的。

DevExpress has an XtraTreeList, which is what I use (not free), and is probably the closest to what you're asking for. Telerik's GridView can also display grid data in a hierarchical fashion if you set up the groupings right.

如果那些价格太陡,你可以尝试 FlexibleTreeView 。或者,如果你迫切需要的东西免费的,看看这个$ C $的CProject页:高级TreeView控件为.NET 。这将是一个的很多的更加离奇和难用比商业产品,但它会做的工作。

If those prices are too steep, you might try FlexibleTreeView. Or if you desperately need something free, check out this CodeProject page: Advanced TreeView for .NET. It's going to be a lot more quirky and difficult to use than the commercial products, but it will do the job.

请注意,我假设数据是一致的,那你基本上要显示相同的数据,层次结构中的每个节点。如果数据是异构(取决于节点或级别的类型完全不同的列),你真的想用的是一个分层的GridView。你可以得到那些从上面列出的同样的出版商。我不知道有任何半体面的免费版本。

Note that I'm assuming that the data is uniform, that you basically want to display the same data for every node in the hierarchy. If the data is heterogeneous (completely different columns depending on the type of node or level), what you actually want to use is a hierarchical GridView. You can get those from the same publishers listed above. I'm not aware of any half-decent free version.

这篇关于再presenting分层数据.NET的WinForms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆