Все вопросы: [treeview]

415 вопросов

похожие теги: treeviewerkendo-treeview
0
голосов
1ответов
1337 просмотров

JFace TreeViewer flickering

I'm trying to update the input of JFace TreeViwer periodically using setInput() method. Also I use the viewer.setExpandedElements(expandedElements); viewer.setExpandedTreePaths(expandedTreePaths); methods to save the state of the tree. But after each setInput() call the TreeViewer flickers. H...

1
голосов
1ответов
646 просмотров

TreeView items disappear

I have a TreeView that is generated in code, and will look like this in the end: <TreeView> <TreeViewItem Header="X"> <TreeViewItem Header="Y"> <TreeViewItem Header="Z"> <StackPanel Orientation="Horizontal"> <TextBlock Width="100" Te...

4
голосов
1ответов
2236 просмотров

ControlTemplate for second level of TreeView

I'm trying to create a TreeView which has two levels but I'm getting nowhere. I have an ItemTemplateSelector (which works - selecting either of the first two templates listed below), but I can't get the children to populate using a DataTemplate. This is my code: public class PlannedMealGroup : I...

0
голосов
1ответов
1505 просмотров

Delphi, VirtualStringTree - rebuilding tree, restoring state (expanded nodes)

How can I restore state of nodes in VirtualStringTree (which ones were expanded) at tree rebuilding? my application uses VirtualStringTree (one of the best components EVER!). Now, what I need is to rebuild the tree each time the application is started. In most cases however the "new" tree is the...

1
голосов
1ответов
2126 просмотров

Treeview Nested in a GridView

I have dynamically added a TreeView to a cell in a GridView Control. The problem is the initial entry in the first node of the TreeView can be quite long. When the page is rendered the TreeView ends up increasing the size of my GridView column width because the first node does not wrap to the nex...

6
голосов
1ответов
5365 просмотров

How to change the color/opacity of the triangular icon on a TreeViewItem?

Some of my TreeViewItems are clickable and some are not. For those that are not clickable, I changed the Foreground color to gray. However, if that item has children, I want to also change the little triangular bullet to gray. How can I do that, something like this: //PSEUDO-CODE: <TreeVi...

0
голосов
3ответов
1149 просмотров

How to keep an area a constant/relative size while user expands/collapses treeview?

I have a window that will be a variable size, currently it is 300 x 400 as shown below. In the top part I have an expandable tree view In the bottom part I have a long horizontal panel with a button in it. I want the top area (treeview) to be about 95% of the height, with the button tool area a...

0
голосов
1ответов
7508 просмотров

TreeView with custom drawn TreeNode

I am trying to add a custom icon near the text of a TreeNode, so the items could have a "checked/unchecked" state displayed. I don't want to use a checkbox for that. Any ideas? Thanks

0
голосов
2ответов
1181 просмотров

how to select treeviewitem in wpf

hi everyone! i am new in wpf so forgive me i want more!!! i am trying to build an application. i have a treeview that bounded a datasource. it is okay. i have two problems. First; how can i select an item from treeview? i wanna a new window popsup when i select an item; when i click another item...

0
голосов
1ответов
2009 просмотров

WPF Treeview and ListBox synchronization

I have a treeview which shows a hierarchy of items where each item has a checkbox. I would like to show below the treeview a listbox with all the checked items. How to achieve such functionality using MVVM pattern? Thanks in advance Lukasz Glaz

0
голосов
2ответов
1299 просмотров

Problem with Images on TreeView

I have a TreeView with ItemHeight=16 and CheckBoxes=true. I want to show images that are 8x16 pixels in size on the nodes. But when I do this, the "Plus/Minus" and "CheckBoxes" change their size (get smaller). How can I fix this? I don't want to use a 16x16 image because I don't want to loose th...

0
голосов
1ответов
280 просмотров

Select Individual XML Bound Items in TreeView

I am trying to learn how to bind the following simple XML file to a WPF TreeView: <?xml version="1.0" encoding="utf-8" ?> <Profiles> <Customer> <Name>Customer1</Name> <Profile> <Version>1.0</Version> <DisplayText>Di...

1
голосов
2ответов
368 просмотров

Flex TreeDataDescriptor

How do I get a Flex tree to display only specific XML nodes? A sample of the XML data is below. Only the Grouper and Product elements should be displayed as branch and leaf nodes respectively; the Name elements should not be displayed. I can't use XSL or e4x to modify the XML as the Name eleme...

36
голосов
4ответов
66346 просмотров

JQuery Checkbox Treeview

I am looking for a JQuery Checkbox Treeview. Does anyone know if a good one exists?

1
голосов
2ответов
2059 просмотров

ASP.NET Telerik TreeView node cursor

How do we set the hand cursor for a plain text node in a Telerik RadTreeView? This is an ASP.NET web app. We are just looking for a quick answer. Didn't see this posted here or on their site or in their docs clearly.

2
голосов
2ответов
3563 просмотров

WPF TreeView focusing on newly added item

I have a sorted tree view with a lot of item. When I am adding a new item I would like the newly added item to be selected and shown on the screen. For example: if I am seeing the first 10 items on the screen and the new item is added on 20th position then the view should change to present the ne...

3
голосов
4ответов
2272 просмотров

Devexpress ExpressQuantumTreeList vs. Virtual Treeview?

From experience, what is the best general purpose tree list for Delphi: Virtual Treeview or Devexpress ExpressQuantumTreeList ? I'm currently using the Virtual Treeview, which is fine for my needs but I'm starting a new project and would like to make sure I opt for the best long-term updated and ...

1
голосов
3ответов
2311 просмотров

Can I have a Treeview without the tree structure?

Can someone tell me how I can template a treeview control so that it doesn't look like a tree? Basically, I want to remove the indents at various levels as well as the +/- that allow for expansion and collapse. The actual requirement is that I have a hierarchical data template that is bound to ...

6
голосов
1ответов
5200 просмотров

TreeView.ItemContainerGenerator.ContainerFromItem returns null for nonroot items. Workaround?

In the following sample, when I select "String", the title of the window turns to "null". But I must obtain the container of "String". Specifically, I want to do the equivalent of SelectedItem = null (but that property is read only for TreeView, so I'm trying to get to the container to set its Is...

0
голосов
1ответов
1710 просмотров

ASP.NET Treeview - Add Node through Javascript

NET Treeview Control, and I was wondering if it's possible to dynamically add child nodes using Javascript ?

1
голосов
1ответов
474 просмотров

How can I display +/- icons on my tree view?

I want to make a tree view where items show a "+" icon when closed and a "-" icon when open. Just like the Windows XP explorer. However, I can't find out how to get the icons. Do I get them from the system or do I need to provide my own?

0
голосов
1ответов
162 просмотров

Silverlight 3 Treeview

Is there any way one can display the Silverlight 3 (Either toolkit version or the built-in Blend version) treeview horizontally?i.e. instead of top to bottom, I wan to go from left to right.

1
голосов
5ответов
1361 просмотров

What is the best way to manage array or arrays in classical ASP

PHP provides associative arrays but there is no such thing in classical asp. I am looking for a class or function that allows me to create and traverse a hierarchy similar to this: United States Washington Electric City Banks Lake Lake Chelan Wapato Point Gig Harbour ...

3
голосов
4ответов
6222 просмотров

C# variable height for nodes in a TreeView

Despite my google efforts, I could not find a solution to use a default .NET treeview and have variable height for each node in that tree view. I need is a way to have 2 types of node with different heights. Ideally, I would also like that one node type can also become bigger as the mouse hover...

1
голосов
1ответов
222 просмотров

YUI TreeView Object

Does anyone know how to remove the connecting "lines" between the nodes of the YUI TreeView object? I know I can use the TreeView plugin for jQuery, however, I'm already using YUI as my main js-library and don't really want to include both. Thanks.

4
голосов
2ответов
11629 просмотров

Windows forms: TreeView control with multiple columns

Is there a way to have multiple columns in TreeView control?

1
голосов
1ответов
5274 просмотров

Reusing a TreeView's expand [+] and collapse [-] buttons in WPF

Is there a way to reuse the simple expand [+] and collapse [-] buttons that appear next to nodes in a WPF TreeView? I would like to have a similar graphic elsewhere in my application for expanding and collapsing some controls.

0
голосов
1ответов
806 просмотров

Automatically Sizing an ASP.NET Treeview Control

Is there a way to automatically resize a TreeView control so that when it is rendered (or re-rendered, if a node is expanded), the TreeView automatically resizes itself to match the overall height of the tree? The purpose of this is to eliminate the scroll bar that accompanies the TreeView, so t...

47
голосов
5ответов
36444 просмотров

AutoExpand treeview in WPF

Is there a way to automatically expand all nodes from a treeview in WPF? I searched and didn't even find an expand function in the treeview property. Thanks

0
голосов
1ответов
294 просмотров

Having a rich treeview

I need to create an user interface like "liquid xml studio" the designer part in c# or something like visual studio class designer interface . I think they are using treeview control but I dont understand how it's possible to have something like expandable groupboxes with other controls inside in...