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

How to create a WPF Image from an RGB Color?

I have some colors for my Layer objects that are shown in a TreeView. Right now I use something like this:
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
2
votes
1 answer

I am using collection to populate treeview in asp.net. How i will delete node from tree

using System; using System.Collections; using System.Configuration; using System.Data; using System.Linq; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.HtmlControls; using System.Web.UI.WebControls; using…
DDD
  • 21
  • 2
2
votes
1 answer

Switch View based on selected TreeViewItem

I have a Shell.xaml file which contains two other UserControls. On the left is my TreeView and on the right is a detail screen. I want the detailscreen to be switchable based on a selected TreeViewItem. I know this can be achieved by using…
supercell
  • 309
  • 1
  • 4
  • 17
2
votes
0 answers

Tree view with check-box react-native

Want to achieve treeview with check boxes. tree view is available with zaguiini/react-native-final-tree-view but no checkboxes .need with selection of multiple items Similar to below Thanks in advance
deva11
  • 881
  • 10
  • 25
2
votes
1 answer

How do you change the font used for inline editing of the node text in a WinForms Treeview control?

I am populating a WinForms TreeView control and setting the font attributes of each node differently as they are loaded. The nodes also allow inline editing (changing the text by pressing F2, or clicking once selected like folder names in Windows…
Stuart Helwig
  • 9,318
  • 8
  • 51
  • 67
2
votes
3 answers

How to add a string that contains whitespace to a Tkinter Treeview column

I use the tree.insert method to insert data into the treeview widget. Under the values option I specify the string variable where to get the data. If the string contains whitespace then the string gets broken up into smaller strings which are placed…
Simson
  • 47
  • 2
  • 9
2
votes
1 answer

Change the rendered html for the treeview control to create a label instead of span

I use a treeview control in my webform in ASP.NET and the rendered HTML is like this:
Mariam
  • 533
  • 2
  • 12
  • 22
2
votes
2 answers

How to change background/foreground of item in Treeview by tag?

I want to apply different background for tags in Treeview but when I set tag for example as "minus" and try to configure tag to have black background it stills returns white background. I've tried applying Style and set background to desired RGB to…
Mr K
  • 111
  • 13
2
votes
1 answer

UWP TreeView editing databinded tree item nodes

On the UWP TreeView I'm working on I need to enable editing of text in the treeview node (item). Treeview is databinded to VM. Editing shoul be enabled by doubleclicking or by raising command from VM. Items are defined with ItemTemplateSelector on…
VladacusB
  • 844
  • 1
  • 7
  • 24
2
votes
1 answer

Convert a POJO to Tree structure in Java 8 for representation of data in hierarchical structure

I have a List returned by Hibernate Projection of a native query in postgresql. I want to represent this in a hierarchical / tree format to send it as response. I used multiple nested Collectors.groupingBy on…
Mohammed Idris
  • 768
  • 2
  • 9
  • 26
2
votes
2 answers

Simple WPF data binding question with icons

I have a few types that make up a hierarchy like this: + Image0.Name Effect0.Name Effect1.Name Effect2.Name Layer0.Name Layer1.Name Layer2.Name ... + Image1.Name Effect0.Name Effect1.Name Effect2.Name …
Joan Venge
  • 315,713
  • 212
  • 479
  • 689
2
votes
0 answers

How to insert data from a treeview into a database (Python ,Tkinter,Sqlite3)

I have a code that's supposed to be a bill of some kind, and it inserts data into a treeview so I can see all the products I bought, but I don't know how to insert this treeview into a table with the rest of the data. I'm using Tkinter and Sqlite3,…
2
votes
1 answer

Create tkinter nested treeview from nested dictionary

I have a nested dictionary like this that I want to use to populate a hierarchical treeview. hierarchy = { 'a': { 'b': { 'e': 'DATA', 'f': 'DATA', …
delica
  • 1,647
  • 13
  • 17
2
votes
1 answer

Enabling checkboxes in treeitems of ctreecntrl

I am trying to enable/disable checkboxes in treeitems in ctreecntrl of visual c++ 6.0. I have found the options to do that for all items, but couldn't do that per item basis. Is there any function to do that?
rwik
  • 775
  • 2
  • 12
  • 27
2
votes
3 answers

TreeView HierarchicalDataTemplate with mixed types

i'm actually developping my first WPF application which must display all components of my computer in a treeview with hierarchical data. Since yesterday i'm facing a little problem, i read tons of examples of treeview binding but I did not succeed…
Q.Rey
  • 305
  • 4
  • 18