9,504 questions
0
votes
1
answer
128
views
Horizontal scrollbar on tkinter treeview is not working
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 ...
0
votes
1
answer
100
views
WPF TreeView how to align the control?
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 ...
4
votes
2
answers
157
views
ToolTip.Popup event not firing with ToolTip.Show() in .NET Framework
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 ...
4
votes
1
answer
104
views
Customized tooltip for TreeView nodes fails due to the Popup event not firing
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 ...
0
votes
1
answer
44
views
I am attempting to bind a WPF TreeViewItem to a TreeView and I'm getting an empty TreeView and two binding failures
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 ...
1
vote
1
answer
112
views
Delphi TTreeeView Horizontal Scroll and custom item draw
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 ...
0
votes
1
answer
92
views
Changing the tree node text color conditionally
The following Javascript code used when initializing the tree region to colorize the tree node texts.
function( options ) {
options.makeNodeAdapter = function(data, types, hasIdentity) {
...
0
votes
1
answer
120
views
Selection item in treeview tkinter python
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,...
0
votes
1
answer
76
views
I can't find a way to change the WPF Treeview togglebutton's size
I have an application on production with a TreeView control but when the client want to expand or collapse the tree, he finds it very annoying to click on the toggle button because the button is too ...
0
votes
1
answer
86
views
Tkinter Treeview rows inserted but not displaying — values confirmed via .item() and .get_children()
I'm building an admin panel using Tkinter in Python. I'm using ttk. Treeview to display computed salary data. I call tree.insert(...) and the data is inserted — I can confirm the values by calling:
...
-2
votes
2
answers
67
views
Treeview table showing duplicates from list of lists [closed]
For a program that takes information from the network I would like to display it in a table to make selections (calculate average, stdev ect.). I created a list of lists and I am trying to populate it ...
0
votes
1
answer
144
views
How can I dynamically show/hide a column in a tree view depending on a field in Odoo version 17
In an Odoo v17 application, in a tree view inside a page, I need to show a column depending on a certain field. There is a transport field whose value can either be 'air' or 'ocean'. If 'air', I need ...
0
votes
0
answers
34
views
Trying to display employees that have a selected job in a tree view which is in the notebook page of a form view in Odoo 17
I created a custom module called recruit ink that I wanted to put on top of the recruitment module, it's like a recruitment request process to start the actual recruitment. In it I have a Many2one ...
1
vote
0
answers
53
views
Children not indenting using Tkinter Treeview
I cant seem to figure out why the children of my tree are not indenting from their parent node and are lined up directly with them instead.
# Tree view initializers
# Tree Cloumns
filterTree = ttk....
0
votes
1
answer
71
views
WinForms TreeView code has variable which seems stuck as false, should be changing [closed]
I wanted to copy some example code I found online, but this bit has me puzzled. In the MainForm() method is
treeView.BeforeSelect += (sender, e) => e.Cancel = !_isTreeInitialized;
Task.Delay(10)....
0
votes
0
answers
88
views
Python Borderless ttk.Treeview
I have a treeview that I don't want to have borders, I managed to do it with borderwidth=0, however when selecting an element the border reappears, I tried to put borderwidth=0 when selecting or ...
0
votes
1
answer
57
views
In VB.Net, navigate to Treeview node based on filepath
In my Windows Explorer type app with the obligatory Treeview and Listview, and having the users chosen file path continually updating in a Textbox, is there a way to navigate to different nodes in the ...
1
vote
1
answer
26
views
Problem with Treeview keyboard navigation in VB.net
I am populating a treeview with a list of music. The root node's text is "Library". I want to go to a specific artist by typing the name. If I want to go to "Billy Idol", for ...
0
votes
1
answer
58
views
Python Tkinter use dataframe resulting from one function def (self,event) in different function within the same class
I have a combobox in one "subscreen" and I am filtering the original dataframe with combo box value but I can't use resulting dataframe to show it in the treeview function or else where. I ...
1
vote
2
answers
75
views
How to add columns and insert data in Common Lisp ltk treeview
am trying to create a table using a scrolled-treeview, to contain students' performance but i have failed to add the specific columns (name, math-mark, comp-mark) to it.
I have tried the following ...
0
votes
1
answer
53
views
To Show Striped Row Tags when filtering using a entry in tkinter
I want that my Treeview shows Striped Row Tags when filtering using a entry in tkinter. The code works fine before filter, the filter function also works fine but it does not shows the Striped Row ...
2
votes
1
answer
57
views
Move up in a treeview in tkinter
I have found this function shown below very useful to move down in a treeview, but I ask here if there is a move up function.
def moveDown(self):
curSelection = self.tree.selection() # current row ...
0
votes
2
answers
145
views
How to make the ttk treeview not show extra empty columns?
I am building an app with tkinter and running into some annoying issues.
When I load my data into the ttk treeview, I see that there are always some additional columns on the right side of my treeview ...
0
votes
1
answer
120
views
Select portion of text in TreeView node
Visual Studio has this very nice "solution explorer", which I assume is some form of TreeView. When you rename files, it selects the file name only and not the extension.
However, treeviews ...
0
votes
1
answer
37
views
In WPF, how can I add a button to each tree view node that is expandable?
The node may be expanded or collapsed. Need to show the button in both cases.
Something like this:
├─ item1
├─ item2 <button>
│ ├─ item2-1
│ ├─ item2-2
├─ item3 <button>
│ ├─ item3-1
│ ...