treeview Questions

7

Solved

I want to show all children of the first level on the treeview by default. And then expand all children of those on click.
Ideally asked 27/12, 2011 at 19:58

6

We have an N level (max is probably around 10 or so) nested data structure that basically resembles a folder layout .. Each node at any level is a Mime type of something to show or a URL .. My ...
Labionasal asked 9/10, 2018 at 17:31

2

Solved

i am new with Nodes here.. :) i came up with this algorithm but it only shows the list of parent nodes.. like this.. a a.txt b c c m n b o p etc... i want the next node will be put in one...
Evidentiary asked 4/6, 2011 at 21:36

10

How would I clear the TreeView selection within a WPF TreeView? I have tried looping through the TreeNodes and clearing the IsSelected property, however that is a ReadOnly property. Any ideas? The...
Antihero asked 24/3, 2009 at 10:30

7

Solved

Is there a way to sort the entries in a Tk Treeview by clicking the column? Surprisingly, I could not find any documentation/tutorial for this.
Cinderellacindi asked 27/12, 2009 at 20:18

4

Solved

What is the most accurate way to move a node up and down in a treeview. I got a context menu on each node and the selected node should be moved with all its subnodes. I'm using C# .Net 3.5 WinForm...
Federalist asked 4/2, 2010 at 23:19

7

Solved

Used treeview.SelectedNode to select a child node. How to invoke treeview.AfterSelect event when a node is selected programmatically? this.treeView1.SelectedNode = this.treeView1.Nodes[0].Nodes[0]...
Rennes asked 17/1, 2011 at 12:53

2

Solved

I am trying to create a treeview dynamically using c# and asp.net. I have created a lazy load treeview using the populate ondemand attribute. > <asp:TreeView ID="treeView1" runat="server" ...
Tootsy asked 1/2, 2012 at 13:35

6

The built-in WPF TreeView control does not allow for multi selection, like a ListBox does. How can I customize the TreeView to allow for multi selection without rewriting it.
Longwood asked 19/1, 2009 at 22:6

3

I am trying to set colors to rows in a tkinter treeview object, using tags and tag_configure. There has been an earlier discussion on coloring rows which is rather old and seems to work no longer ...
Standin asked 22/4, 2020 at 19:10

7

Solved

I have a TreeView windows forms control with an ImageList, and I want some of the nodes to display images, but the others to not have images. I don't want a blank space where the image should be. ...
Animation asked 4/11, 2008 at 12:4

4

Solved

I'm just starting with a small tkinter tree program in python 3.4. I'm stuck with returning the first value of the row selected. I have multiple rows with 4 columns and I am calling a function on l...
Estate asked 3/6, 2015 at 8:6

4

Solved

I want remove CheckBoxes where the Node.Type is 5 or 6. I use this code: private void TvOne_DrawNode(object sender, DrawTreeNodeEventArgs e) { int type = (e.Node as Node).typ; if (type == 5 || t...
Audryaudrye asked 28/1, 2011 at 9:17

8

I'm trying to populate a treeview from a list of folder path, for example: C:\WINDOWS\addins C:\WINDOWS\AppPatch C:\WINDOWS\AppPatch\MUI C:\WINDOWS\AppPatch\MUI\040C C:\WINDOWS\Microsoft.NET\Frame...
Patrica asked 20/7, 2009 at 21:12

2

Solved

My Treeview basically has "folder" nodes, and one level below items which do NOT contain other items. Therefor the space for the expand / collapse icons is not required (on level 2). Can I give up...
Boresome asked 30/11, 2012 at 16:29

14

Solved

I'm using the following code to make my treenodes bold: Font font = new Font(tvQuestionSequence.Font, FontStyle.Bold); foreach (QuestionnaireBuilder_Category cat in categories) { TreeNode node =...
Wagonette asked 16/2, 2010 at 11:31

3

Solved

Okay guys, I have been scratching my head like mad over this issue and have spent a good few hours trying to research how it works but I am yet to find an answer, if you wish to see any of my SRC f...
Lennox asked 24/5, 2012 at 8:13

3

I got a problem with changing the height of the Treeview.heading. I have found some answers about the dimensions of Treeview.column, but when I access Treeview.heading in the documentation, there i...
Cornerstone asked 29/1, 2020 at 15:22

3

I wanted to change the column width of the columns in tree view. So far I have tried these solutions Adding in the field tag: width="100px" or width="15%%" Adding in the field...
Electrotype asked 19/11, 2016 at 11:24

3

Solved

I have a tree view which is populated already with files/folders from another procedure. I would like to iterate one by one through the items in the tree view, going in exact order from top to bott...
Eligibility asked 26/12, 2012 at 19:29

4

Solved

My program uses a ttk.Treeview as a table and fills it with many numbers. I want to clear the ttk.Treeview when I press a button in the window. Is there a simple way to clear the ttk.Treeview? T...
Blacking asked 2/4, 2014 at 12:52

8

Solved

Is there any way to use ttk Treeview with editable rows? I mean it should work more like a table. For example on double click on the item make the #0 column 'editable'. If this isn't possibl...
Stasiastasis asked 1/9, 2013 at 19:32

3

Solved

I have a problem with my wpf treeview. It's code goes like this: <TreeView ItemsSource="{Binding Path=Items}" Grid.RowSpan="2" Grid.ColumnSpan="2"> <TreeView.Resources> <Hierarchi...
Solidify asked 11/2, 2011 at 13:16

5

Solved

If virtualizing is enabled in TreeView with items having various sizes, multiple problems appear: Vertical scroll bar changes its size randomly and doesn't remember sizes of elements after viewin...
Rigadoon asked 30/12, 2012 at 17:8

2

Solved

I have a TreeView in WPF Which contains One Main Node and 5 Child Node.As soon as Main Node is expanded we get child Nodes.Now on Expanding child node we get some Values.This is the representation ...
Julissajulita asked 22/7, 2014 at 10:44

© 2022 - 2024 — McMap. All rights reserved.