Questions tagged [treeview]

The TreeView component serves the purpose of showcasing information in a hierarchical structure.

Encountering a bug in my JSON or object tree viewer in Vue.js 3 where duplicate keys are present when there are multiple similar values

Encountering an issue with the following code: Attempting to create a tree viewer from an object, it works well until encountering identical values which cause key duplication and replacement. View on CodePen: https://codepen.io/onigetoc/pen/rNPeQag?edito ...

Update the fuelux treeview after uploading a file

Currently, I am utilizing the jquery fileupload plugin to facilitate the process of uploading a file and then using the data from said file to populate a fuelux treeview. I have configured an ajax call for handling the file data where the information is fe ...

Creating a Dynamic Tree View Component in AngularJS Using JSON Data

I am new to AngularJS and I need help creating a TreeView Structure from a JSON Object. Here is an example of my Return JSON Object: var categoryTree = [{Name:'Item1', Childnodes : {}, id: 1}, {Name:'Item2', Childnod ...

Choosing a root element in a hierarchy without affecting the chosen style of a child

I am working on a MUI TreeView component that includes Categories as parents and Articles as children. Whenever I select a child item, it gets styled with a "selected" status. However, when I click on a parent item, the previously selected child loses its ...

What is the best way to showcase the chosen items from a treeview in ReactJS?

I'm struggling to figure out how to showcase the selected elements from my treeview. Any ideas or tips? The main purpose of this treeview is to filter data for export purposes. You can find the original code here. import React, {useEffect, useState} ...

Convert a list into a hierarchical structure of nested objects

Working with angular, I aim to display a nested tree structure of folders in an HTML format like below: <div id="tree"> <ul> <li ng-repeat='folder in folderList' ng-include="'/templates/tree-renderer.html'" ...

No feedback received from JSON

Hi, I'm having trouble receiving JSON response using JavaScript. My goal is to display the JSON data as a treeview. index.html: <!DOCTYPE html> <html> <head> <title>JSON VIEW</title> <link href="https://fonts ...

What are some ways to enlarge the dx-treeview when a new item is added?

I created an application using AngularJS that involves performing CRUD operations on Categories and Phones. I need help expanding the dx-treeview to display newly added items. https://i.stack.imgur.com/GSaPp.png When I click on the Save button, it takes ...

use element ui tree and vue to filter files according to selected folder

Utilizing the element UI treeview to showcase folders. Each folder or its child folder contains files that need to be displayed based on folder selection. While it's easy to filter and list out these files in a normal list, I am facing challenges with ...

Transforming JSON/XML into a hierarchical display

I've come across the following XML file: <Person attribute1="value1" attribute2="value2"> value3 <Address street="value4" city="value5">value6</Address> <Phone number="value7" type="value8">value9</Phone> </Person> ...

Can I choose multiple rows at once in a treeview widget?

Can you select multiple rows in a treeview widget and how do you retrieve the selected rows? I've created a treeview, but I can't seem to figure out how to select multiple rows at once. https://i.stack.imgur.com/lH43J.png If selecting multiple ...

Extract the text and value from an asp.net treeview by utilizing jQuery or JavaScript

On my website, I am using a TreeView controller. I have disabled node selection by setting SelectAction = TreeNodeSelectAction.None as I have the checkbox option enabled. However, this causes an error when trying to access the .href property of the node. T ...

Could the absence of a tree view in the div be due to an error in the positioning of the DOM

I'm currently working on displaying a tree structure with specific child elements inside a div using JavaScript and HTML. Despite creating all the necessary objects and ensuring that the data is correctly read from the JSON file (refer to the "data" i ...

Top method for dynamically generating a recursive treeview from data fetched from an API

I am currently learning Angular 2 and working on creating an expandable tree-view that pulls data from a potentially large third-party API. The underlying structure of the API is structured like this: - Home (id: 1053) - - Rugby League (id: 1054) - - - Su ...

In search of the most efficient method for integrating an AJAX-powered TreeGrid feature

Can anyone recommend an Ajax/TreeGrid implementation that meets the following criteria: Must support server side sorting Should be able to load leaf nodes on demand, meaning only children of open nodes are loaded Needs to support paging so that nodes are ...

Disabling the parent checkbox feature in PyGTK

I have successfully created a Treestore in pygtk, but I am facing an issue with a checkbox that I do not want to appear. It can be seen in the image below. Computer1 [ ]-----This checkbox is unwanted C drive [ ] D drive [ ] E drive [ ] Here i ...

Can you explain the inner workings of the recursive rendering in Material UI's TreeView?

I'm currently working on dynamically rendering the Material UI TreeView. My goal is to add new nodes when a node is expanded. I've encountered some issues while attempting to achieve this. I have a JSON data variable containing nodes, and I am adding new ...

The "initialized" event in angular2-tree-component fires prior to the data being loaded

Utilizing the angular2-tree-component, my goal is to display an already expanded tree. According to Angular docs, the initialized event should be used for expanding the tree after the data has been received: This event triggers after the tree model has ...

What is the process of nesting widgets in kendoui with the PHP wrapper?

I have created a code using treeview in manual mode. div id="treview-back"> <?php $treeview = new KendoUITreeView('treeview'); // function to create TreeViewItem with imageUrl function ImageTreeViewItem($text) { $item = new KendoUITr ...

Angular 8 allows for the utilization of Ul li elements to create an expandable and collapsible hierarchical

As a newcomer to Angular, I have managed to code a representation of hierarchical JSON data in a tree view using recursive calls. The code works well, but I am faced with the challenge of implementing an expand and collapse functionality for the treeView u ...

v-treeview component triggering method execution twice upon input

I'm facing an issue with my Vue component that contains a treeview. Upon selecting a node, the goal is to update an array and display the checkbox as selected. However, I'm encountering a problem where if I select elements from one folder in the ...

Unlimited API requests triggered by state changes within a callback

I am attempting to fetch data from an API and display it in a treeview using Material-UI. When the data is static, everything works perfectly fine. However, when I use the API in a callback function, it triggers an endless loop of calls... const getTreeIte ...

The struggles of using a jQuery tree with JSON data are real, especially when it comes to dealing with the

I am in the process of creating a tree structure from JSON data that is dynamically loaded from PHP files. However, I am facing difficulty in navigating to the third level of the tree. Below is the code snippet: $(document).ready(function() ...

Tips for accessing the topmost heading in the Tkinter Python treeview

After working diligently on this code, I have come up with the following structure: def fee_foo(): fee_screen = tk.Tk() fee_screen.title("Fee Information") fee_screen.geometry("500x500") # Running the SELECT statement and ...

Exploring deep within JSON data using jQuery or Javascript

I have a substantial JSON file with nested data that I utilize to populate a treeview. My goal is to search through this treeview's data using text input and retrieve all matching nodes along with their parent nodes to maintain the structure of the tr ...

Expand or collapse level 1 nodes with v-treeview component

I have created a special button in my tree view that has the ability to toggle open and close all nodes within it. The button code: <v-btn @click="toggleTreeview" /> Here is my v-tree markup: <v-treeview :value="x" @inpu ...

React's hover effect is running sluggishly due to delays in state updates for hover effects

When I attempt to change the background color of a list item upon user hover, I notice that as the list size increases, the hover effect slows down significantly, giving the impression of lag on the site. I am utilizing the Tree View component from materi ...