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
3 answers

How can I show a context menu only when the user has clicked the root node in a TreeView?

I have a TreeView and a Context Menu. I want to show the Context Menu ONLY when I right click on the ROOT node and not the child nodes. This is what I have so far. This shows the Context Menu even when I right click on the child nodes. How can I…
Erik
  • 225
  • 2
  • 5
  • 7
2
votes
2 answers

How can I display an array in a tree view structure?

I want to build a tree view made of departments(parent) and sub-departments(child). In my database I think I have a good structure which is like this: -------------------------------------------- Dep_name | dep_id | dep_parent_id …
Louis
  • 19
  • 5
2
votes
1 answer

How to insert multiple values into specific treeview columns?

I have a database returning the total of several column and I am trying to display it in a treeview. If I do for i in backend2.calc_total()[0]: treeviewtotal.insert("", END, values=i) I get which is not what i want as i want everything to…
2
votes
0 answers

How to give tooltip on every node react-sortable-tree

How to add tooltip on every node using react-sortable-tree? this is my code. I am SortableTree. { …
user3226524
  • 103
  • 3
  • 11
2
votes
2 answers

TreeView-Like list of Links

I have a have a table with Region_Name, Region_ID fields, and another one with Area_Name, Region_ID fields (each region have Areas that belongs to it). I want to display on my asp.net page a list of links (something that looks like a treeView) so…
Maen
  • 1,030
  • 7
  • 19
  • 33
2
votes
3 answers

Command on TreeViewItem item click, VSCode Extension

Context: a question related to building a clickable edit button on any item of a TreeView. How can I call a callback function when the edit button in front of a TreeViewItem is clicked? Image of the edit…
2
votes
1 answer

How to increase the number of rows of data displayed in a TreeView?

I want to display 500+ entries in a TreeView. The following is the code that I wrote: import tkinter.ttk as ttk from tkinter import * #entries is a list of lists containing the data I want to display master = Tk() tree = ttk.Treeview(master,…
user7872484
  • 23
  • 1
  • 4
2
votes
1 answer

How to position all the elements of a ttk Treeview to the left?

I would like to have a treeview with all the elements anchored to the left, with no heading and with the little plus button that expands the subvalues. For some reason I dont get the three things to work at once. Here's my code: import tkinter as…
2
votes
2 answers

what is shortest way to export what's in a tree view to an excel file

I have a treeView witch has a lot of data I want to export this data to excel file. I want the simplest way to do this. I have an idea witch is to convert whats in tree view to data frame then save the data frame as excel file. but I don't know if…
Ali
  • 687
  • 8
  • 27
2
votes
2 answers

Can I group rows in a Javafx TableView?

I'd like to make a javafx TableView with rows that may (or may not) have "related" rows. Basically, I think it might be a tableview of tableviews, but (a) I'm not sure that would work and (b) my gut tells me there's an easier way. Imagine a bill or…
2
votes
2 answers

c# Obtain a list of TreeView Parent nodes

If I have a TreeView (myTreeview),how can I obtain a list of all the nodes that are parent nodes? i.e. nodes that have children
TK.
  • 46,577
  • 46
  • 119
  • 147
2
votes
1 answer

I C# treeView shows folder sequence nodes How to rename nodes Recurrently on form load without changing source folder name

I have form showing treeview that treeview preview some folders, subfolders and files from the hard drive like the following example : how to change the names of the nodes in the treeview without changing the source folder name I mean that I need…
2
votes
1 answer

How to force a #vuetify #treeview node reload?

Using #vuetify #Treeview in #vue.js project, there is no example on how to reload edited node or how to update parent of deleted node. If any sample or any help link?
Ahmad Ebrahimi
  • 267
  • 5
  • 24
2
votes
0 answers

Store dictionary key value pair to tree structure

I have generated a key:value pair from the excel data and now I want to store the key:value pair in the tree structure. Since the dictionary lost its order,I have stored all the keys in the separate data frame to get the order of tree generation.…
2
votes
1 answer

Material tree control not displaying async data from http service

I am facing an issue with material tree control on Angular 6. When I use static data and return it as an observable using RxJS 'from' operator, it works fine. However, I have a web API returning similar model data which I am calling using http…
1 2 3
99
100