Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
23 views

C# WPF Deleting a single Child from SubItems/Parents in TreeView

I have a static (for the moment) tree set up in WPF. I am attempting to delete a specific child out of a parent, which is a sub-item of main, but not sure how to go about it. The tree is structured as ...
Vlad SD's user avatar
  • 259
1 vote
0 answers
30 views

PyQt5 Crashes when I open a folder which contains files with .json or .js extension in QTreeView

I work in VSCode on Ubuntu LTS 24.04. I use PyQt5. I have the following folders with files in the root path of my project: I use the following code: from pathlib import Path from PyQt5 import ...
F0AX's user avatar
  • 11
0 votes
1 answer
49 views

C# Learing TreeView and a way to display all parents

I'm in the process of playing around with TreeView for the first time, and for now, I have set a goal to be able to display all parents for a given child, as a start. Goal accomplished on that, but to ...
Vlad SD's user avatar
  • 259
4 votes
1 answer
67 views

Issues with FadeTransition when used with TreeView

I have a similar problem to that reported here. In my application I present a TreeView of "health" status items for a system with a number of components. The requirement is to flash a "...
pjy's user avatar
  • 91
-3 votes
0 answers
71 views

C# I want add tree list from datatable [closed]

i have a problem some treeview. I have datatable like this Datatable1 LV1 LV2 LV3 A B C A B D F G H I J I want to loop from datatable for output to Treeview like this A B C D F G H I J ...
Boss's user avatar
  • 1
-1 votes
1 answer
50 views

Getting Item in hierarchical TreeView

I've got in XAML <TreeView x:Name="FavoritesTreeView" SelectedItemChanged="FavpritesTreeView_SelectedItemChanged" PreviewMouseRightButtonUp="...
Igor Goblin's user avatar
0 votes
1 answer
59 views

Tkinter treeview - get the item under the cursor on <ButtonPress-1>

I am writing a drag and drop app where I drag data from a tree view to an entry widget. I want to be able to use the item from the tree that is under the cursor when the mouse button is pressed. I ...
Psionman's user avatar
  • 3,511
0 votes
0 answers
15 views

Anchor Element invalid in react mui Menu Component

In the below code when I click on the IconButton that is rendered with each item of tree view, I want a menu list to be opened, so I am passing the event object for getting the element reference to ...
Niresh's user avatar
  • 67
2 votes
3 answers
96 views

Flutter convert data into custom map with parent and child relation

I am working on a Flutter app where I need to generate a tree view from JSON data. The TreeView shown below: The Table structured as follows: ParentID ChildID Title 1 0 Root 1 2 0 Root 2 3 1 Node ...
Sulfy's user avatar
  • 229
0 votes
0 answers
72 views

BackgroundWorker and TreeView, stuck form when I expand TreeView

I need to create a very large TreeView, more than 200,000 nodes. The creation is fine, but the complete expansion of the TreeView, despite being executed by a different thread, sticks the form (20 - ...
GiPi's user avatar
  • 1
1 vote
0 answers
86 views

Text spacing does not match when drawing text on TreeView

My project is a winforms app, using .Net Framework 4.8. I have been having a graphical issue in which TreeViews with the same font and text are being drawn differently. On one TreeView, I need to draw ...
itsLydt's user avatar
  • 958
0 votes
1 answer
41 views

Flutter Generate TreeView From json data

I have a table with three columns (parentID, childID, treeName). I would like to generate a tree view from json data. What I have tried? There are a lot of example for hardcoded tree view, but non for ...
Sulfy's user avatar
  • 229
0 votes
0 answers
57 views

How to get the treeview selected item and cell value by mouse clicking

I have created a treeview in my code, but I'm unable to retrieve the selected item and cell values, which would provide me with the row ID and cell information. Could you please guide me on how I can ...
not_a_stay's user avatar
0 votes
1 answer
98 views

How to center row text vertically in the tkinter Treeview widget?

My problem is that in the example below, the text in the highlighted row is positioned at the top and is not vertically centered. I would like to achieve the same effect as with the CSS attribute &...
antma's user avatar
  • 1
0 votes
1 answer
21 views

Sorting 1st column of treeview app sent failure

I used an exapmple from a tutorial to sort columns in treeview. It works for 2nd and 3rd column, but not for the 1st column. If I click on the heading I get this Error: Exception in Tkinter callback ...
Paul-ET's user avatar
  • 129
0 votes
1 answer
43 views

Automatic resize Treeview (column width & row height) size inside ttk.Notebook

I create a treeview inside a tab from ttk.notebook widget. I followed this description for addapt the size of the treeview table. I saw also the .pack solution, but I will not mix .grid and .pack(). I ...
Paul-ET's user avatar
  • 129
0 votes
1 answer
50 views

How can I tell when it's safe to set TreeView.SelectedItem?

Here's a really simple bit of xaml: <TreeView x:Name="provenanceTree" ItemsSource="{x:Bind ProvenanceTreeItems}" SelectionMode="Single" ...
Jules May's user avatar
  • 805
0 votes
1 answer
54 views

Binding to TreeViewItem.IsExpanded works only one way

I have the following control (excerpted) <TreeView x:Name="provenanceTree" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" ...
Jules May's user avatar
  • 805
0 votes
0 answers
18 views

How to make treeview xct:Expander in xamarin forms?

I'm developing an android app with xamarin forms and I want to shape my menu like treeview like image below. I find xamarin community toolkit expander. It looks good and simple to use bu I have to ...
Mert Altiparmak's user avatar
0 votes
1 answer
43 views

Where is the padding and margins defined in a TreeView?

I've got a treeview defined as follows: <TreeView x:Name="ProvenanceTree" Grid.Column="0" Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" ...
Jules May's user avatar
  • 805
0 votes
1 answer
15 views

error: `Gtk.TreeIter' is not a supported generic type argument

I want to move some selected items between trees in Gtk+3 with Vala. The problem is that I cannot create a list to include all the item iterations that have to be removed, after adding them to the ...
Néstor A.C.'s user avatar
0 votes
0 answers
24 views

My Tableview not updating on button click from .qml file

On button click i am calling updateEntries() function which I am expecting it should add rows into the model and show the tableview on the screen.But i am not seeing any table with data. Also i have ...
Coder's user avatar
  • 27
0 votes
0 answers
35 views

TreeView child nodes cannot be set to have no image

I cannot Set the image of child nodes to be empty. So far i've written this: private void InitializeTreeView() { treeView1 = new TreeView(); treeView1.Dock = ...
David Hornemark's user avatar
0 votes
1 answer
50 views

Material-UI tree editable items

I am using RichTreeView component from Material-UI lib and would like to create an editable tree: so when user click on particular button positioned after every item dropdown list pops up. I tried to ...
Adnan's user avatar
  • 63
0 votes
1 answer
76 views

Muti Tree View Select and Binding on WPF

I am currently working on a project that involves a multi-tree view selection in a MVVM,WPF application using C#. The tree view supports functionalities such as Cut, Copy, Move, and Paste between ...
Nguyen Vung's user avatar
0 votes
0 answers
22 views

Microsoft.Web.UI.WebControls TreeView not working in modern browsers

I am using Microsoft.Web.UI.WebControls TreeView.cs only in my .net application, this is working fine in IE(compatability mode), now I am trying to make my application to work in latest browsers as ...
ashok's user avatar
  • 11
0 votes
1 answer
38 views

Is a Frame the best Way to Host a Page within a Grid Layout Cell

Please excuse if this is a very basic question, but I'm coming from a WinForms background. I'm looking to include a tree view on the left of the application window for a WinUI 3 project, which will ...
E. A. Bagby's user avatar
0 votes
0 answers
38 views

the inserted data not display when using tkinter treeview

I made a program to get a value from user and display data in a table equal to the user input, my problem is the data is not updated in the columns and not displayed whatever the data is retrieved and ...
Mohab Moha's user avatar
0 votes
1 answer
64 views

WPF - Virtualizing Tree View - SelectedItem selection desappearing after item is selected through a Custom Search Box

I have a custom tree view user control that is using a Virtualizing Stack Panel since i have to display ~8000 items. The tree view also lives in a groupbox with custom SearchBox user control that ...
Jean's user avatar
  • 37
2 votes
1 answer
38 views

Python tkinter treeview does not shrink as expected

I'm having a treeview element in a frame to the left, which shares the space with another element to the right, in this test case here it's a button. When the window is resized to a smaller size, the ...
Björn's user avatar
  • 23
0 votes
0 answers
19 views

C# how to implement treeview_getitemrect for treeview node's bounding rectangle

The goal is to move the cursor to the selected treeview item's bounding box for sending left or right mouse clicks. https://learn.microsoft.com/en-us/windows/win32/controls/tvm-getitemrect <- this ...
Win Thu Latt's user avatar
2 votes
0 answers
72 views

How can I set a consistent theme for the ttk widget of tkinter?

I am building a GUI application using customtkinter. My main window is hence initialised with customtkinter. Treeview widgets don't exist in ctk, hence I am using a treeview widget from tkinter ttk ...
afairbridge's user avatar
0 votes
1 answer
42 views

C# MVVM WPF TreeView with checkbox don't populate

My issue is that when i tried to create dynamically a TreeView with checkbox, but the TreeView is empty. After some research i tried this : Here is my treeview in XAML <TreeView x:Name="...
EmoFile's user avatar
0 votes
2 answers
39 views

WPF - Change treeview selection colors

I am interested in changing the background and foreground of all treeview selected item Looking at this page for reference https://learn.microsoft.com/en-us/dotnet/desktop/wpf/controls/treeview-styles-...
pf12345678910's user avatar
0 votes
0 answers
37 views

how to implement TextSearch with HierarchicalDataTemplate for TreeView?

I have a multi-level TreeView that implements data binding, just like: <TreeView IsTextSearchEnabled="True" IsTextSearchCaseSensitive="False" TextSearch.TextPath=&...
hchlqlz's user avatar
  • 23
0 votes
0 answers
61 views

Flutter Tree View allow for dragging and dropping children into other children nodes

I have a Flutter app built using the Stacked cli, I'm trying to customize my tree view which will allow for the following: Can drag a child node to the left which will then make it a parent Can drag ...
Code Ratchet's user avatar
  • 5,947
1 vote
2 answers
99 views

How to let KP_Down, KP_Up, KP_Next, KP_Prior scroll a `ttk.Treeview` widget like KeyPress-Down, KeyPress-Up, KeyPress-Next, KeyPress-Prior?

I discovered that in tkinter, '<KP_Down>','<KP_Up>', '<KP_Next>', '<KP_Prior>' does not scroll a ttk.Treeview widget as '<KeyPress-Down>', '<KeyPress-Up>', '<...
Sun Bear's user avatar
  • 8,142
-2 votes
1 answer
59 views

Python Tkinter Treeview : Rows coloring

I've created a treeview table in Tkinter Python, and filled it up with only one item so far. This item corresponds to the first row of the table. The color of this row is set to green. When the said ...
Zakaria's user avatar
  • 43
0 votes
2 answers
73 views

Bind functions issue in Tkinter

I have reported a simplified runnable version of my code where I'm trying to bind to my Treeview to perform action on it. My issues are the following: the onSingleClick function is not always ...
RandomGuy's user avatar
0 votes
0 answers
20 views

How to get contents of every file (css, js, php, json, txt) in folder tree in text one txt file?

I want to modify some plugins contents according to my custom needs, I'm using an AI language model to do so and feeding it all the data for it to analyze and modify based on my requirements. I used ...
cashrunner's user avatar
0 votes
2 answers
104 views

How do I create a treeView for a List<List<int>?

I have a EntityDisplay class that contains 2 properties: public sealed class EntityDisplayObject { public ICollection Collection { get; private set; } public string CollectionName { get; ...
Arthur Rodrigues's user avatar
1 vote
2 answers
64 views

How to solve treeview going out of parent frame in python with tkinter?

I want to load and modify the contents of the Excel sheets. I am using tkinter treeview for displaying data with openpyxl. The problem is whenever I open the excel sheet larger than the frame size, it ...
dharmikP's user avatar
  • 121
0 votes
0 answers
50 views

File manager tree nesting

Hi folks i'm trying to create this file explorer-like thing the one in vs code sidebar, you can create files one the top level and create nested files by clicking on the plus icon in the already ...
Govind ganeriwal's user avatar
0 votes
1 answer
32 views

Show a Treeview as a folder explorer from database source

i have any issuses with my treeview. a customer needs to add a root folder to his file manager. I tried using a treeview to populate the tree from his database. this is a part of his database: db ...
Zakkwylde84's user avatar
0 votes
1 answer
48 views

Add connecting borders to MUI treeview

I was looking to add some borders which connect to the nodes in the mui treeview, but i keep struggling with a single part, that is to not have the vertical border when it is the last leaf node It is ...
Gold's user avatar
  • 1
1 vote
1 answer
113 views

JS filter on array tree

I want to filter on my array tree and display only founded node based on the label this is my output with my code : enter image description here I've added a input search and when I type into I update ...
Bouchet's user avatar
  • 15
-1 votes
1 answer
32 views

TreeView and TreeNode, Images from ImageList not always showing

I have a TreeView and I have assigned an ImageList to the the TreeView: mlstImg.Images.Add(Resources.EMPTY); mlstImg.Images.Add(Resources.MIXED); mlstImg.Images.Add(Resources.DOWN); mlstImg.Images.Add(...
SPlatten's user avatar
  • 5,670
0 votes
0 answers
27 views

Xeokit TreeViewPlugin does not work with glb model

I try to render GLB file in xeokit viewer and toggle some of its elements with TreeViewPlugin. My HTML file looks like so: <!doctype html> <html> <head> <meta charset=&...
Mr. Boombastick's user avatar
0 votes
2 answers
76 views

Javafx TreeView strange selection behavior

I try to take care that the user who selects a TreeView item by mouse click or by key press does not choose a container item. Pressing the arrow keys you go up and down the leaf items only. A mouse ...
volkerpeter's user avatar
0 votes
0 answers
12 views

Tree View Kendo Fill dataTextField

I have a Treeview kendo in my code. it is populated via the following. My question is that I don't know what the column names are to put in the dataTextField. Can anyone help me? ds = new kendo.data....
Samaneh Hoghooghi's user avatar

1
2 3 4 5
191