Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
0 votes
1 answer
134 views

I am using tkinter, pandas and treeview. The treeview is to display an excel file via filedialog with 15 columns, which is very lengthy, hence I needed a horizontal scrollbar. However the scrollbar ...
user2741620's user avatar
0 votes
1 answer
84 views

Set Focus to an item property in a TreeView The TreeView looks like: <TreeView Name="Tree" BorderThickness="0" ItemsSource="{Binding Items}"> <...
Stephen Lee Parker's user avatar
0 votes
1 answer
100 views

I want to build a web page–like effect that displays a directory tree with multi-level nesting. The left side should show the directory names, and the right side should display operation buttons ...
sendreams's user avatar
  • 391
1 vote
1 answer
161 views

I'm trying to solve LeetCode 199. Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. I've ...
Benny's user avatar
  • 519
4 votes
2 answers
161 views

I have an old WinForms application with a normal TreeView, where I need to show customized tooltips for individual nodes. I am using a ToolTip component (OwnerDraw=true and IsBalloon=false), and I ...
Boise's user avatar
  • 379
5 votes
1 answer
168 views

// data fetched from database, it's dynamic $treeData = [ ['id' => 1, 'name' => 'Root A', 'parent_id' => 0], ['id' => 2, 'name' => 'Child A', 'parent_id' => 1], ['id' =&...
rahul's user avatar
  • 919
4 votes
1 answer
106 views

We have an old (very old) WinForms application that depended on some 3rd party components that we are no longer allowed to use. One of those components was used to display tooltips on individual nodes ...
Boise's user avatar
  • 379
1 vote
1 answer
118 views

I’m trying to bind the SelectedItem of a WPF TreeView to a property in my MainViewModel in a pure MVVM setup (no code-behind). Since TreeView.SelectedItem is not a dependency property, I created an ...
6EQUJ5HD209458b's user avatar
0 votes
1 answer
50 views

I am building the framework of a MVVM app. I'm currently working on a simple TreeView contained in a UserControl. I have set the context to my ViewModel and have been able to successfully bind ...
Ben's user avatar
  • 13
0 votes
1 answer
206 views

I am getting a memory exception in (unchanged) code that has been working for 2+ years (code is unchanged, in a Git repo). Here's the code that is causing the exception: HTREEITEM getTreeNode(HWND ...
John D's user avatar
  • 11
1 vote
1 answer
112 views

We have implementation that uses OnCustomDrawItemEvent of treeview to draw items. NodeRect := Node.DisplayRect(true); TextRect(NodeRect,NodeRect.Left, NodeRect.Top, sometext); The issue is that some ...
danisius's user avatar
  • 609
1 vote
2 answers
155 views

I want to achieve the following (using Delphi 12.2): A TreeView with Checkboxes and two levels (each parent node has two or more child nodes, but no grandchild nodes). Click a parent node: it becomes ...
Tim's user avatar
  • 123
0 votes
1 answer
95 views

The following Javascript code used when initializing the tree region to colorize the tree node texts. function( options ) { options.makeNodeAdapter = function(data, types, hasIdentity) { ...
shady's user avatar
  • 134
1 vote
1 answer
68 views

I need help to build a hierarchical treeview taking data from a mysql table with these columns: ID, ID_parent, Description. I managed to fill only the first level list and I need to create a function ...
stefano visco's user avatar
0 votes
1 answer
121 views

I want to get the index of a row in a Tkinter treeview without clicking on the row. I have a three-column treeview that displays correctly. In the first column, I have values, each unique. For example,...
user30316302's user avatar

15 30 50 per page
1
2 3 4 5
634