I have a tree control that I have setup a right click menu on to simulate a user adding items to the tree control.  When they right click they get an option to add a new folder / item to the tree.  I pop up a dialog box where they can type in the name they want to give it.  I can’t find a way to dynamically add what they type as an item in the tree.  So I am wondering what the advice would be on how to handle this.  Should I jump to a new page with a different tree that has a hardcoded item just to simulate what happens?  I tried adding blank values into the tree and then setting their names dynamically but having the tree expanded ahead of time with blank items doesn’t really simulate what the user would be doing.  

I think what needs to happen is some more granular action options need to be added for the tree control.  We should be able to add elements with an action where we want them added and then expand the tree with an action to show that element.  In the meantime I could use some advice on what you would do to simulate this.



27 answers

Staff September 28, 2016

Hi Bill, you are right that ForeUI still lacks of an action to add new item into the tree control.

As for the possible ways to simulate this behavior, jumping to a new page with another tree control is of course an option. You can let the new page to use the original page as master page, and only overlap the new tree control on it. That can save a lot of time.

Also you can consider using the Reference element as the holder of different tree controls. Thanks to the newly added action to dynamically set target element, you can now store your tree controls in an inaccessible page, and dynamically set the reference target to different tree control.

I think both two approaches will work. The second one seems better if you want to “add” more items into the tree control.


The reference item worked great!  It is still a lot of work for what seems like a pretty easy change in the software to accommodate actions on tree controls for adding elements and expanding collapsing.  But this will get the job done in the meantime.  




This is something that happened to me as well! I was working on this eCommrece website of mine where I preparing for the next collection of ted lasso cristo fernandez hooded jacket. I would highly agree that there should be a specific option to control the tree.


love how detailed this article is, great job! mold removal memphis


cant wait to find this love, soo  great! newborn photography spokane


Is it possible to set up a trace for behaviors? That is, display a non blocking, non intrusive message giving the trext of the behavior and the result of its execution for each behavior statement?  Concrete Driveways


 If an icon is shown on the button, the look of the icon is not changed, and the state seems to be a mix of Normal and Disabled.



concrete pumping contractor


Thank you for asking the same question I have in mind. Thank you guys for answering it. roofing contractors Cheltenham


This is helpful in many ways, thanks for giving off information. jersey mortgage


Thank you for this, it will help. tax preparation for business


I have problems related to this, good thing I found this website. oklahoma farmers insurance


such a good start for those who do not know these things. home builder oklahoma


 This is useful especially for those who have so many files and all, cash home buyer in new jersey


Great idea, best pooper scooper


This works just fine, we buy houses for cash


This helps me sort my files replacement windows oklahoma city


This is a big help for my tree control, We buy houses philadelphia


such an insight full and brilliant idea. places to eat in broken bow


Tree control is interesting. hanging clothes storage


100% reliable app click here


good to know about tree control Emergency lighting Cheltenham


This is such a great instructions. https://mgmobiledetail.com/


Cool! Your content is well explained that everyone who visits here will understand. Thank you!


photo booth rentals near Austin


Good information! Have you seen the sequel to five nights at freddy’s 2? I hope you enjoy this game; it is one of the greatest horror games currently accessible.


Thanks for a wonderful share. Your article has proved the hard work and experience you have got in this field. Brilliant.i love it reading.

home painting pro


We offer a fully mobile service, so we come to you! We pride ourselves on our professionalism and customer service, so you can rest assured knowing that your truck is in good hands.   jumpstart service


Harlingen Truck Repair (Mobile Only)  We can also get you set up with a new set of tires if you need them. Just give us a call and we’ll be happy to help.


Please login or Register to Submit Answer