超链接作为TreeCtrl项 [英] Hyperlinks as TreeCtrl items
本文介绍了超链接作为TreeCtrl项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要创建一个TreeCtrl,其中的项目应该是超链接,itemtext和超链接
例如:ROOT
|
| Child1 (根项目) SubChild1
| Child2 (根项目) SubChild2
在上面的示例中,"Child1"和"Child2"应为超链接,(根项目)"应为静态文本项,而"SubChild1"应再次为超链接.
我该怎么办....?
谢谢,
Jony
Hi,
I need to create a TreeCtrl, where the items should be a hyperlink, itemtext, and hyperlink
Ex: ROOT
|
|Child1 (Root item) SubChild1
|Child2 (Root item) SubChild2
In the above example, "Child1" and "Child2" should be hyperlinks, and "(Root item)" should be static text item, and "SubChild1" again a hyperlink.
How can I do this ....?
Thanks,
Jony
推荐答案
查找" ^ ]"实现,虽然有许多不同的优缺点,但通常它们允许多列显示项,和超链接单元格-或至少是单独格式化的单元格(以便您可以模拟超链接).
您可以在此处找到一个/list/treelistview.aspx"target =" _ blank"title =" New Window> ^ ]-不确定是否符合您的需求.
Look for "TreeListView[^]" implementations, there are quite some different ones with different advantages and drawbacks, but usually they allow multiple columns for items, and hyperlink cells - or at least individually formatted cells (so you can simulate the hyperlink).
One you can find here[^] - not sure if it fits your needs.
这篇关于超链接作为TreeCtrl项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文