Hi,
I have created tree widget and assigned nodes. My tree structure is different for different user.
How to retain the selected tree node after refresh the tree. Every 2 mins , refreshing the tree structure.
Refresh event is mapped to tree build service.
In Tree widget, I have check the "autoselectfirstrow" property.
After opening the mashup , showing the first row. If i go the different node of tree and refresh the tree, its going to first node. I am expecting the selected node after refresh also. Even I have unselected "autoselectfirstrow". Its retaining selected row but problem is tree node structure is different for different user. In that case, i am getting the error at first node if login with different user.
Could you please advise how to assign selected tree node after refresh.Could you give the example.
Thank you in advance.
Solved! Go to Solution.
That's what I did:
I used an expression. Set the output for string and created a parameter, and I made the output this parameter.
I bound the SelectedBreadcrumb of the tree widget with the parameter of the expression.
I evaluated the expression with the refresh event that you use to refresh the tree data.
Then I bound the output of the expression to the SelectedValue of the Tree Widget.
It worked just fine.
That's what I did:
I used an expression. Set the output for string and created a parameter, and I made the output this parameter.
I bound the SelectedBreadcrumb of the tree widget with the parameter of the expression.
I evaluated the expression with the refresh event that you use to refresh the tree data.
Then I bound the output of the expression to the SelectedValue of the Tree Widget.
It worked just fine.