cancel
Showing results for 
Search instead for 
Did you mean: 

How to select Item in a View switch

Former Member
0 Kudos

Hi all,

Can someone tell me how onSelect of the View switch in Webdynpro works, when I change the onleadselection of node the ViewSwitch shows another selected item. How can I do this with onSelect.

Kind regards,

Richard Middelburg

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

can you be please more elaborative.

Regards

Raghu

Former Member
0 Kudos

Hi Raghu,

I'm look for to change the selected item in the ViewSwitch. I have created a node and bind it to het ViewSwitch. When I start the webdynpro I see the ViewSwitch with the Items. The first item is selected.

when I change the leadsection (wdContext.node.setLeadselection(1)) I see the second item selected.

How can I use the onSelect event (source code) to change the selected Item of the ViewSwitch.

Kind Regards,

Richard