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.

8856 questions
2
votes
1 answer

jqGrid custom recordtext and using loadComplete to get records count

I am trying to change the recordtext of a display grid to a custom format. I am using a treeview as the selector that refreshes the display grid. I need to find the total records for the grid and I am able to get this value using the getGridParam…
Jerry P
  • 49
  • 5
2
votes
1 answer

Binding TreeView to single object that contains many objects

I have a binding like this: ... QueueHierarchy is: public class QueueHierarchy { …
mariocatch
  • 7,023
  • 7
  • 34
  • 63
2
votes
1 answer

WPF TreeView: Using ItemTemplateSelector and ItemContainerStyle Not Working At Same Time

I have a WPF TreeView for which I have specified two HierarchicalDataTemplates, and I use a template selector to choose which one to apply based on a type in a data bound object. The hierarchical data templates get applied and I see the expected…
randusr836
  • 435
  • 1
  • 3
  • 16
2
votes
1 answer

How to get original value in TreeView?

I try get original value on WPF treeview. Commonly, Treeview we get selected item' original value using object Item = treeview1.SelectedItem; MessageBox.Show(Item.ToString()); but, my attempts to get it using this method were unsuccessful. If I try…
2
votes
2 answers

List Charts HTML CSS

I want to create a organization tree in the following manner. I am unable to generate the tree as shown in the figure. Kindly need help in generating the tree as shown in the figure as i have multiple levels where some data has to be shown as an…
MM0959
  • 167
  • 1
  • 1
  • 12
2
votes
2 answers

Flattening out a TreeView in WPF

I have some hierarchical that I'd like to display in a TreeView, but formatted to look like a ListBox. The data I have looks like this (with the possibility of any number of sub levels): Item 1 Child 1 Child 2 Item 2 Child 3 Child 4 I'd…
Dvlpr2878
  • 107
  • 2
  • 8
2
votes
1 answer

restrictions in treeview JS - Check only one checkbox

I have a small problem with a "treeview" done in JS The treeview works fine, but now I need to apply some restrictions. The treeview has the following structure:   Parent> node> sunode The restriction is that I can not select more than one "node"…
berti
  • 113
  • 3
  • 13
2
votes
1 answer

Treeview onNodeSelected not firing

Im using the Jon Miles treeview from https://github.com/jonmiles/bootstrap-treeview I have generated a JSON data structure and the treeview displays nicely, however I cannot make the onNodeSelected event fire. JS:
A. Claudi
  • 85
  • 1
  • 1
  • 7
2
votes
1 answer

Creating a nested treeview

Note: I previously asked this question, but no longer have access to the account nor do I have the ability to recover the account. If a moderator is viewing this, please delete my previous question. Question: I'm using AndroidTreeView library to…
2
votes
1 answer

How To Scroll to the bottom of a TreeView in tkinter

I've imitated a table widget using treeview in Tkinter. And add a scroll bar linked to it. The question is as my data is add in the bottom by minute automatically, and I want the scroll at always scroll to the bottom. I know "text.see(END) "works…
user7544575
  • 55
  • 1
  • 5
2
votes
1 answer

TreeView Update

I have a treeview control on an aspx page. The data comes from database and I bind it to treeview control programmatically. (Parent-Child relationship in database of course) Well and I added a textbox which I use to add new child under the selected…
Tarik
  • 73,061
  • 78
  • 222
  • 327
2
votes
3 answers

Remove empty nodes in a c# List

I have a C# object which after JSON Serialization becomes something like this: var tree = [{ Id:1, text: "Parent 1", ParentId:0 nodes: [ { Id:2, text: "Child 1", ParentId:1 nodes: [ { Id:3 text: "Grandchild…
Jyotirmaya Prusty
  • 268
  • 1
  • 7
  • 22
2
votes
2 answers

Populate Treeview using List of Items

Good Day, I have two List of objects (say for e.g. MyObjList as new List(of Integer) ) and based on their indices I want to build up a treeview starting from item 0 and end with last item in the list. I want these objects to appear something like…
DK2014
  • 157
  • 2
  • 16
2
votes
0 answers

Reducing the Node height of a TreeView

Inside the Window 10 File Explorer tree (left pane), there are vertical spaces between the Quick access, OneDrive and This PC: How can I use spaces like this in a WinAPI TreeView Control? I can place "empty" nodes there. They will have the same…
Tahtu
  • 283
  • 3
  • 12
2
votes
0 answers

How to show user comments in hierarchical fashion in asp.net mvc

I'm beginner in asp.net mvc. I have a product model and I want implement user comments for any product. I want to show comments as tree for each level. I use a recursive method in my view to show comments and reply comment but it cant show reply…
VahidAsadi
  • 41
  • 1
  • 6
1 2 3
99
100