Questions tagged [treeview]

TreeView control is used to display hierarchical information.

0
votes
0answers
5 views

Ttk Treeview root (parent, top level) nodes invisible

Have been stuck on this for a few days and cannot find any mention of someone experiencing this phenomenon. I have a Treeview and I am population the top level nodes and then sub level nodes but the ...
0
votes
0answers
6 views

tkinter treeview how to selected value get single treeview entry

i try selecet and get only Name or Last_Name but where is problem output {'text': '', 'image': '', 'values': [1, 'My Name', 'My Last Name'], 'open': 0, 'tags': ''} dict_values(['', '', [1, 'My Name'...
0
votes
1answer
29 views

Styling a tree containing multiple types based on view model data

I have a tree containing several different types of items. I have got as far as having separate viewmodels for each type and the items appearing in my tree. I have an overall TreeView....
0
votes
0answers
16 views

Return sublevel values from object on tree menu - quasar framework

I trying to create multilevel tree menu from object, I want to add onClick event to get the value from the object. <p class="caption">Accordion mode</p> <q-tree :nodes="simple" ...
-1
votes
0answers
7 views

I can't open con file via tree view [on hold]

I have a problem opening a con file via tree view created by mrbayes. I get a Pop up message saying "syntax error"
0
votes
0answers
35 views

Changing the style of a TreeView in JavaFX with CSS

i'm trying to style a TreeView in JavaFX using the CSS file, but there's a thing i can't understand: I'd like my TreeView to appear with the lines like in this picture, but i obtain them only like ...
0
votes
0answers
24 views

Customize checkbox styles with ivh-treeview

I am using angular-ivh-treeview to render a hierarchical checkbox list. It is working fine however I have trouble styling the checkboxes. If I am correct I have to use a custom template and then apply ...
0
votes
0answers
15 views

Modifying treeview column width after creation

I want to use the same tree widget for different reports. To make this work I need to modify the header every time before inserting new data. But I can't get the widget to behave the way I want it to: ...
0
votes
1answer
18 views

How to open files inside multiple folders with a tree view?

I have recently gotten into programming and I have been working designing my first program. It's designed to store and create notes inside a folder, but I'm having an issue with opening the txt files ...
0
votes
1answer
9 views

telerik treeview force requery database

I'm new to telerik components and I'm figuring out how to bind it to a database, what I have done already is correctly connecting the tree view to my table and getting data correctly on form load. now ...
0
votes
0answers
18 views

How do I move the C # treeview structure up and down?

I want to move a tree structure with root, main groups and subgroups up. private void btn_Yukari_Click( object sender, EventArgs e ) { string SqlGrupVar = string.Format("select * ...
0
votes
1answer
20 views

Populate treeview with - path enumeration

I'm trying to populate treeview with list od items. Item contain name and path: Here is the code: private void CreateTree(TreeNodeCollection nodeList, string path, string name) { ...
0
votes
1answer
27 views

How to implement a multi level tree view from dynamic response?

Here i am posting my url.the url contains dynamic responses.so please suggest me to implement a multi level treeview in android using below url format. http://www.json-generator.com/api/json/get/...
0
votes
1answer
54 views

WPF Treeview Not Updating After Rearchitecting to MVVM

I've created an application to load specifically-formated XML files and edit its fields through a WPF GUI. However, being new to C#, I was not aware of the MVVM pattern upon writing it, and I'd taken ...
-1
votes
2answers
19 views

Add a checkboxes to existing Treeview in WPF

I have an existing treeview in WPF in which I would like to add checkboxes Here the code I have a class Person which contains all the structure Person.cs public class Person { readonly ...
0
votes
0answers
29 views

Only fire event after last TreeViewItem datasource has changed

I have a TreeView in my View that is databound to a list of root Nodes in my ViewModel. Those root Nodes can have child Nodes. All nodes are of the same type and have the property IsSelected that is ...
0
votes
2answers
11 views

Windows Form Multi-Select for Tree View

Is there a way to multi-select in a Windows Tree View? Similar to the image below I know that .NET currently doesn't have a multiselect treeview. It is treated as a wrapper around the win32 native ...
0
votes
1answer
38 views

widget in sub-window update with real-time data in tkinter python

I've tried using the after/time.sleep to update the treeview, but it is not working with the mainloop. My questions are: How can I update the treeview widget with real-time data? And is there a ...
0
votes
1answer
17 views

Android place view (TreeView) on top of MainLayout

So I have this MainLayout which simply consists of a Floating Action Button (FAB) right now: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://...
-2
votes
1answer
31 views

TreeView with CheckBoxes WPF

I tried this sample How to develop treeview with checkboxes in wpf? to create a TreeView with checkbox but in this example you cannot have a family in another family. So my question is how to create a ...
3
votes
2answers
142 views
+150

WPF TreeView with virtualization - select and bring item into view

I've been working with WPF treeview for a bit recently and I'm having a really awful time trying to get the selected item to show up on the screen when the user uses a search function that sets the ...
-1
votes
1answer
12 views

WPF TreeView keep list of elements visible on screen

I am trying to get the elements in a tree view that is visible on the screen. If I have the following elements: A1 A1.1 A1.2 B1 B1.1 C D E Let's say only elements A1, A1.1, A1.2 and B1 are ...
0
votes
0answers
31 views

How can I display a treeview with an already selected node?

I'm using this slightly modified treeview directive (https://github.com/eu81273/angular.treeview, jFiddle Example) in my app. I can get it to save the node that has been selected, but I can't seem to ...
0
votes
0answers
16 views

WPF treeview entity framework hierarchial declarative binding

I'm trying to use declarative binding to bind an entity framework object to a treeview. The SQL table that the object is based on is a SQL hierarchial table. Here is the schema: CREATE TABLE [dbo].[...
1
vote
1answer
15 views

Access a WPF TreeViewItem in C# on a double click

I want to access a WPF TreeViewItem on a double click. In my WPF it looks like this: <TreeView x:Name="ExerciseTreeView" Background="#FFF9F9F9" MouseDoubleClick="Exercise_MouseDoubleClick" ...
0
votes
1answer
26 views

How to design a Treeview with following Scheme

Treeview should look like following: Treeview Scheme My Code looks like this: <TreeView ItemsSource="{Binding Design.AllSystems}"> <HierarchicalDataTemplate DataType="{x:Type core:...
-1
votes
0answers
12 views

How to get full path of selected item in treeview with HierarchicalDataTemplate using wpf? [duplicate]

I have this xaml code : <TreeView Name="treeView" Grid.Column="0" Grid.Row="0" SelectedValuePath=""> <TreeView.Resources> <HierarchicalDataTemplate DataType="{x:...
0
votes
1answer
47 views

Module not found: Error: Can't resolve '@angular/cdk/tree' '@angular/material/tree'

I'm using Angular 5 and trying to achieve a tree view like this with a table like display. https://stackblitz.com/edit/angular-hhkrr1?file=main.ts when I try to import import {NestedTreeControl} ...
1
vote
1answer
36 views

Dynamically fill QTreeView so that app doesn't crash

I want to show a tree view of how nodes in an OPC server are organized. I'm using PyQt5 and opcua to achieve this. To try the code, I used Prosys OPC UA Simulation Server, and it works fine. It looks ...
1
vote
1answer
23 views

TreeView instead of WebView?

Once createTreeView() has created a TreeView instance, the reveal() takes your derived implementation of TreeItem. The reveal() does not take a ViewColumn as does the WebView[Panel]. The only way the ...
0
votes
0answers
39 views

Fail to trigger Hummingbird Treeview sub-node checkbox

I am using hummingbird-treeview.js plugin with font-awesome v4.7.0. I want to render a hierarchical tree structure with the checkbox. When I try to trigger the root node of the checkbox, the ...
0
votes
0answers
40 views

Write values from Pandas DataFrame columns into tkinter TreeView/Table Columns

I want to write values from a dataframe into a tkinter treeview/Table, I am not able to do this. my code: #Setting up tkinter window. root = Tk() tree = ttk.Treeview(root) #taking file input through ...
0
votes
0answers
12 views

IVH treeview Indeterminate state is not working

I have implemented ivhtreeview. The selection and deselection work fine with it. But when I uncheck the child node, the parent is not getting updated with the indeterminate state but the parent ...
0
votes
0answers
12 views

How to retain expansion state of Tree View Items for a virtualizing TreeView in WPF?

If I expand a Tree View Item, scroll far enough, then scroll back to that item, it will not be expanded. This happens due to re-usability of UI containers in virtualisation mode, which seem to reset ...
0
votes
0answers
26 views

JavaFX - is there a way to substitute the arrow in a TreeView for another character?

I have a JavaFX TreeView and I want to substitute the arrow for another character. I know that I should use: .tree-view .tree-cell>.tree-disclosure-node>.arrow to access the ".arrow" ...
0
votes
0answers
26 views

tkinter.insert to print values in next column

I am having a dataframe with 6 columns, what i need from tkinter is to print data in next column everytime when first loop iterate. For eg: xls = pd.read_excel(file) df = pd.DataFrame(xls) df_col = ...
0
votes
0answers
18 views

MongoDB Query for Changing value on particular Field

I want to Change field names at particular path. CanYou Give some Suggest.. I've the picture of that hierarchy..here
-1
votes
0answers
27 views

JavaFX: TreeItem Refresh but keep item selected

Attempting to refresh my TreeView when a change occurs on the file system. I want to keep the folders open and item selected however when the refresh occurs. I have the refresh function happening in ...
0
votes
0answers
22 views

IVH TreeView Twistie's are not triggering the functions binded with it

I have the IVH treeview implemented and runs fine. But at runtime, I need to get 'children' data for my JSON, So Tried to bind my API call to Collapsed Twistie of IVH TreeView as shown below, but it ...
0
votes
1answer
15 views

How to add checkboxes and link to a model in Vuejs Treeview?

I want to add checkboxes to Vuejs Treeview. So I added a checkbox to the template as this code: <script type="text/x-template" id="item-template"> <li> <input type="checkbox" id="...
1
vote
1answer
35 views

Why does windows play a beep sound on KeyDown, but not on DoubleClick?

I hope this is going to be a real quick question: I have a TreeView on a Windows form. I run this code to open directories, displayed in a tree view: Private Sub OpenFolder() Try System....
1
vote
1answer
57 views

Odoo: Custom button in the header of odoo tree view doesnt trigger python function

Basic info: Odoo version : 10.0 module name : simcard_piavita model name : simcard_piavita.simcard_piavita Aim : to add a Sync button in header of the tree view and link it to a python function. ...
0
votes
0answers
14 views

Adding/Removing Nodes from an ASP:TreeView after initial Population

I'm trying to figure out which event should be used to re-check the items in my TreeView should still be displayed. I add my Nodes dynamically, so set a function name for the OnTreeNodePopulate but ...
3
votes
2answers
35 views

wpf how to binding one TreeView to another TreeView

I'm trying to bind TreeView t2 to TreeView t1 in xaml as below: <Window x:Class="WpfApp2.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://...
0
votes
0answers
9 views

How do I implement Dispose() on a TreeView inherited class?

The Windows Forms TreeView control has a Dispose() method. But a sub-class can't override it. How can I dispose of objects (Brushes & Pens) when the object is no longer in use? I don't want to ...
2
votes
1answer
56 views

Disabling all parent node in JavaFX while keeping all its children clickable

I am trying to create a JavaFX tree view which has checkbox tree items. I require all the nodes which have children should be disabled. But all the children of these nodes should be clickable. ...
0
votes
0answers
23 views

C# Unique Id in TreeView for Inventory Category System

I am trying to make an Inventory/Warehouse application and I have tons of items that will be added every item has a category and some categories (if not all) will be sub-categorized. I tried Import/...
0
votes
1answer
23 views

How do I invert the order of a TreeView?

This question seems so simple, yet I didn't find any feasible solution after searching for it all day long. I have a standard TreeView: <TreeView x:Name="MyUpsideDownTree" ItemsSource="{Binding ...
0
votes
2answers
26 views

How to delete every object from tree [duplicate]

I have JSON object...and want to delete name key value i.e(name-11,name-22) from every child till last child...using java script function... { "id": "1", "name": "11", "child": [ { "id": 2, ...
0
votes
0answers
19 views

Angular-tree-component multiple times treeModel.update() on run time - makes the application slow

I am using angular-tree-component in my application. In some cases, I need to add multiple nodes to my tree at run time. It may happen on every 1/2 second or even less than that. So when I am calling ...