Skip to main content
Nintex Community Menu Bar

Tree Control retrieve selected value.

  • April 17, 2019
  • 3 replies
  • 33 views

Forum|alt.badge.img+8

Hi,

 

Scenario:

User will select from the tree control below and whatever is selected is saved to database.

The next time he login he wants to see the selected vaue.

 

Selected values (Toyota, Volvo)

When I display the page, I want that Toyota and Volvo as checked. 

 

How to display the selected value to tree control?

 

ex. 1. Car

           Toyota

           Mitsubishi

           Audi

      2.  Truck

            CAT

             Volvo

 

Thanks

3 replies

Forum|alt.badge.img+10
  • April 23, 2019
Hi, On the tree control there is a property called "Value Path". Save this to the database and use that to load the values. You will set the Tree control's value to this returned value upon Form load and this will check the previously selected values. Hope this helps! Regards, JohanL

Forum|alt.badge.img+8
  • Author
  • Novice
  • April 24, 2019
I used Value path to retrieve during loading but it didn't work.
I used different approached ;
- transfer data
- set control
Both failed

Forum|alt.badge.img+10
  • June 4, 2019

Hi,

 

I tried this again and actually loaded it with the ValuePath property and it does work.

 

I've created a small application in K2 5.3 with FP02 which is attached.

 

You can deploy this to see how I did it and just check your rules.

 

Regards,

JohanL