Questions tagged [treeview]

TreeView control is used to display hierarchical information.

A tree view (control) displays a hierarchy of nodes, where the user can expand and collapse these nodes while navigating through the control. Often a tree view will provide the user the ability to view or edit additional information relating to the node selected.

Tree views are often used to present hierarchical data, such as an XML document or files and folders structure.

9439 questions
2
votes
1 answer

Filter TreeView with all nodes and childs

I have a parent node which has a child, and this child has another child etc.. and they are all in a TreeView So I create a global variable to save all my nodes as: private TreeNodeCollection ProjectTreeView { get; set; } Then I set data of the…
Ruben
  • 155
  • 1
  • 9
2
votes
2 answers

Why does an exception occur when clicking on treeview nodes in winforms application?

I have a problem with treeview nodes. When I click on some nodes, it brings up an unhandled exception has occured and says "object reference not set to an instance of an object". I think that this exception occurs because I am using…
Vahan
  • 3,016
  • 3
  • 27
  • 43
2
votes
1 answer

Group list of the same file revisions and make relationship of them

I try to group those of file revision which have the same root and make relationship between them For example: 1.17 1.17.1.1 1.17.1.2 1.17.1.2.1.1 1.17.2.1 1.17.2.2 1.18 1.19 Now I would like to group 1.17, 1.18, 1.19 as the same group and make…
Bruce
  • 519
  • 6
  • 23
2
votes
1 answer

jQuery Tree expand node based on log-in

has anyone implemented a jQuery Treeview (http://plugins.jquery.com/project/treeview) that will expand a specific node based on a user login role? I'm hoping that a user with UserRole2 have "Node2" expanded on the tree when they login. I'm not sure…
ewomack
  • 753
  • 13
  • 29
2
votes
2 answers

Using node icons in Vaadin Flow / 14 TreeGrid component

Example (VueJs / Vuetify) i want to achieve: Vaadin only has TreeGrid#addHierarchyColumn(ValueProvider) which does not allow adding icons.
rmuller
  • 12,062
  • 4
  • 64
  • 92
2
votes
1 answer

WPF TreeView: How to make controls align relative to every TreeViewItem, yet still get the indentation effect for the header text?

Here's a visual idea of what I'm trying to accomplish: I want all the buttons on the left and right sides to align vertically, no matter where the TreeViewItem is located in the tree. I'm having trouble achieving this effect while also getting the…
Jake Steed
  • 123
  • 1
  • 8
2
votes
1 answer

WPF color nodes based on view property

I have a WPF treeview that I would like the color of a node to be based on a particular getter. I can't figure how to databind for that case. I would like it to look like this except that odd numbers would be a child node of the even numbers
Steve
  • 11,763
  • 15
  • 70
  • 103
2
votes
1 answer

How do I make JavaFX TreeView and TreeItem serializable?

I'm got this error (java.io.NotSerializableException: javafx.scene.control.TreeView) when trying to save my TreeView using ObjectOutputStream. I have 2 classes which implements Serializable and 1 main class which doesn't implements Serializable. The…
papert1ger
  • 59
  • 5
2
votes
0 answers

tree view multi select dropdown in bootstrap 4 in angular 9

I am looking for tree view multi select dropdown in bootstrap 4, I found it in bootstrap 3.3.7, below is link for bootstrap 3.x https://www.npmjs.com/package/ngx-tree-select I also try to use some other but nothing work, if any one have working…
Deepshikha
  • 21
  • 3
2
votes
2 answers

Which data model to use to represent nested categories in a small SQL database?

I am writing a small web site for work where employees can consult video capsules on how to use the different programs that we use. I was asked to organize the videos by categories and the categories need to be arbitrarily nested. I've been looking…
gnuvince
  • 2,357
  • 20
  • 27
2
votes
3 answers

Highlighting the selected TreeNode

How can I highlight the selected TreeNode (UI.WebControls) in ASP.NET? The purpose is to let the user see which category he or she is viewing at the time. My thought was that on each TreeNode, check if its property Selected was true and then change…
Soroush Hakami
  • 5,226
  • 15
  • 66
  • 99
2
votes
3 answers

TreeView detail architecture question

I've got windows form app I'm developing, and my client wants a TreeView on the left with nodes that when clicked allow their users to work in detail screens on the right. The simplest approach was to create panels which are disabled until the…
Mike Malter
  • 1,018
  • 1
  • 14
  • 38
2
votes
1 answer

C# WPF Caliburn Micro TreeViewItem.Expanded Event Not Firing

I'm using Caliburn Micro Message.Attach through XAML to try and bind Events to a View Model, but I cannot get the TreeViewItem.Expanded Event to fire. Other events like SetSelectedItem work fine. I found another question on this on SO here but it…
Progeny42
  • 43
  • 5
2
votes
2 answers

Displaying a different cursor when the user hovers the mouse over a particular TreeNode control of a TreeView control

I require the cursor of the form to change to the cursor Cursors.Hand when the user hovers the pointer over a node with a specifically named parent node. The issue I am having in implementing this is regarding changing the cursor back to the default…
hecate
  • 620
  • 1
  • 8
  • 33
2
votes
1 answer

Display the text inside the nodes in Tree graph in d3.js

Im using simple vertical tree graph in d3.js in which I need to display the name and count of each nodes inside the circle. The link im working on https://codesandbox.io/s/cool-field-vsc6m. Now the name is getting displayed outside the circle. I…
ReNinja
  • 543
  • 2
  • 10
  • 27