treeview

WPF Treeview - Binding to a collection with different depths, and styling differently

Apologies for the long post -- Read a few threads about this, but still find it hard to implement. Basically, I have a collection of objects, defined as: public class LibData { public string Name { get; set; } ObservableCollection<LibObject> _list; public ObservableCollection<LibObject> List { get { return _list; } } pu...

jQuery treeview wont work in async mode

Hi, ive downloaded a treeview plugin for jquery (from http://jquery.bassistance.de/treeview/) and ive got a problem with it, because it doesnt generate anything visible. Ive generated a json string with php: [{"text": "RSS feed"}, {"text": "Documents", children: [{"text": "test.txt"}]}, {"text": "Todo lists"}] The jquery code lo...

Grid like styling with jquery Treeview

Hi, in my project i have hierarchical data and i want to display it in following format i have just downloaded jquery treeview and tried it on a small ul. i want to know if i can make such a display with jquery treeview. if not please suggest some other controls. i m using asp.NET mvc 2 RTM with C# ...

Focusing WPF TreeViewItem when selection changes in another control

Hi All, In my WPF application I have a treeview which is loaded with certain collection. At the top of this tree view control i have a listbox which stores the same items as in the tree view whenever the tree view items are made favorites. I am trying to focus the treeview item whenever there is a selection made in the listbox. Though t...

add gtk.TreeView columns to a size group

I want to stack two treeviews on each other and have the columns be aligned. I figured the way to do this would be to use a gtk.SizeGroup somehow. However, gtk.TreeViewColumn is not a widget... how can I do this? ...

Binding Silverlight 4 TreeView to a hierarchical dataset using WCF

What is the best / good approach to bind Silverlight 4 TreeView control to a hierarchical data set returned by a WCF service, please? Thanks, Iegres. ...

"text" on the tree node when it is partially visible

How's the text(like below "Temporary ASP.NET") hovers directly over the tree node called? Any difference from tooltip? Can it be controlled on visibility? e.g. do not display even when the node is partially visible. pic: Windows Explorer Thanks, ...

Why Do my WPF TreeView Items Look Like This?

In learning WPF, I (perhaps unwisely) chose to display my XML data (wisely parsed with LINQ) in a TreeView. But when I load it into a TreeView, it looks like this: The XAML is as follows: <TreeView Name="StoryTree"> <TreeViewItem Name="TreeGeneral" Header="General"/> <TreeViewItem Name="TreeCharacters" Header="Characters" /> ...

detect when column in gtk.treeview is resized

What signal can I catch to detect when a column changes size in a gtk.TreeView? I can't seem to find it in the docs. ...

gtk: get width a TreeViewColumn would like to be if it were autosized

Is there a way to get the width, in pixels, that a gtk.TreeViewColumn would want to be if the sizing mode was set as gtk.TREE_VIEW_COLUMN_AUTOSIZE, even if it's currently gtk.TREE_VIEW_COLUMN_FIXED? ...

Jquery File Tree - how to return folder name on folder click

Hi, I have installed and trying to customize Jquery File Tree so that, on click of folder name, the folder name and path are returned to the calling function. Currently it only expands and collapses folders, and returns the file name on click of file. So I need to return the folder too and cannot see where that is triggered. I am usi...

What is the best way to represent tree structure in memory as a cache?

Hello all I have tree with nodes. The nodes are constructed by TCP API request response value. To make less requests I'd like to represent the tree in a cache structure, that each time when TCP request are about to be invoked it will check the cache first. What is the best way to do it? I mean the tree cache part, in my case I'm using Qt...

To show user that the video has ended in WPF

I need help! I'm facing a problem that is got to do with Slider + Tree View + Video. Using Blend and WPF, language C#. Header (a) sub header X << Play Video (a) only on click (b) sub header Y << Play Video (b) only on click Video (a) [Duration 0:00 to 0:09] and Video (b) [Duration 0:10 to 0:20] I have combined the Video (a) and V...

scrollviewer issue with tabcontrol

Hi, I am struggling with a weird scrollviewer issue in tab control. One of my xaml page having a tabcontol and again tab item will contain a xaml with another tab control. Inside the second tab control i have a scrollviewer which in turn holds a treeview. once user searches for specific data treeview will populated with search resul...

Third Party Tree-Grid WinForms Control

I am looking for people's experience with any of these third party controls 1) Xceed Grid for .NET 2) DevExpress XtraTreeList 3) Infragistics WinGrid 4) Infralution VirtualTree 5) 9Rays.Net Flygrid I need a very simple Hierarchical representation of my data with the grid format to display additional information about each node. Perfor...

Delphi TreeView: Can I have different styles in one node's text?

I want to show a string like this as a note's text: Name: John It has a bold part and a regular one. Is there a way that I can do this? ...

Making a treeview with expandable childnodes

I'm having trouble with a treeview, in ASP.NET. I'm basically querying a database table. 3 of the colums are important Name Id ParentId So this amounts to a bunch of Nodes in the TreeView, some which will have Child Nodes, Child Nodes may have more Child Nodes themselves, etc... Top Nodes don't have a ParentId, they are set to null,...

jQuery / Dynatree: How to populate dynatree dynamically using asynchronous ajax call?

Hi I'm new to dynatree, but I find it very cool. I am trying to use this treeview in my app where I need to populate the tree based on dropdown slection event in my page. The tree will be initially and will only needs to be populated based on the selections in dropdown fields in the page. I tried to read the documentation, but couldnt...

selecting a node of treeview after postback - asp.net

I am using a treeview control. I am buliding the tree dynamically. sometimes the tree becomes larger and the down scroll bar is need to see the entire tree. user can select a node from the tree. if one node is selected ,i change the color of the node from server side. my problem is that if a user selected a node which is bottom in the...

How to debug TreeNodeCollection

The code in question: TreeNode categoryNode = categories.Nodes[category]; //BREAKPOINT HERE categoryNode.Add("New Node") My question is less about the code itself (it all makes sense to me), so much as the debugger. When at the break point I want to look at the TreeNodes in categories.Nodes, but categories.Nodes is a TreeNodeCollecti...