cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

In tree widget if i want 2nd level data as default selected. how to do that?

nbhagtani
2-Guest

In tree widget if i want 2nd level data as default selected. how to do that?

I have 3 levels in tree and i want 2nd level data to be selected default when tree is loaded. Please tell  me how to do that

1 ACCEPTED SOLUTION

Accepted Solutions

Am able to achieve it by writing service which returns me first child of first node(2nd level) and bind that data to selected label and value.

View solution in original post

6 REPLIES 6
supandey
19-Tanzanite
(To:nbhagtani)

Nisha, did you try setting that level in the SelectedValue or SelectedLabel property of the tree widget

what value i need to give to selected label and value?

supandey
19-Tanzanite
(To:nbhagtani)

Nisha, i suppose you'll need the label as the name of the sub level (2nd level) to be passed to either of these or probably to the SelectedBreadcrumb property, you can test that by binding to one of those using the Configure Widget wizard. Sorry i have not tested this myself so can't name it exactly.

Am still not able to do it

Am able to achieve it by writing service which returns me first child of first node(2nd level) and bind that data to selected label and value.

supandey
19-Tanzanite
(To:nbhagtani)

Glad it worked out!

Top Tags