Questions tagged [tree-nodes]

36 questions
0
votes
1 answer

Create A treenode with List

I have a table in this structure ListA labelName 1 Colorado 1 Wyoming 1 Illinois 2 New York 2 Ohio I am trying to create a tree where if LISTA = 1, it goes under one node called "header one" and Colorado,…
EagleFox
  • 1,367
  • 10
  • 34
  • 58
0
votes
1 answer

Minimize DOM access inorder to have a more responsive page

Accessing DOM elements with JavaScript is slow so in order to have a more responsive page, we have to do the following things Cache references to accessed elements Update nodes "offline" and then add them to the tree Avoid fixing layout with…
JSAddict
  • 12,407
  • 7
  • 29
  • 49
0
votes
1 answer

Generate tree nodes in powershell on the fly

I am currently new to and in process of learning powershell for andmistrative purposes. I am posting this question since I couldnt find much information regarding this anywhere. I am creating a script with a gui which lists all our servers as…
Darktux
  • 427
  • 6
  • 16
  • 27
0
votes
1 answer

Removing multiple nodes in TreeView with recursive function

I have a pre-built TreeView control. I want to remove the nodes as a permission set according to values that are saved in a database. I used a recursive method to delete the nodes, but some nodes remain and don't get deleted. Here's my…
Abu bakar
  • 49
  • 2
  • 8
0
votes
1 answer

Trouble checking for a valid path (string) being entered into a tree

I've created a TreeNode class which holds an ArrayList of tree nodes (named branch) and I want to add new branches to the tree by user entered paths. An example path being /Monkey/King/Bar where each of those would ideally be an existing branch with…
Vorfall
  • 45
  • 3
-1
votes
1 answer

how to stop void function from stack overflow

Since void doesn't return anything, I don't know how to get a proper base case for a void function like the one I am trying to get. struct TreeNode { char value; TreeNode *sibling; TreeNode *child; }; void serialize(std::ostream &out,…
Neezo
  • 9
  • 3
1 2
3