on 01-20-2011 10:27 AM
Hi
I have an itemlistbod in which I display employees reporting to one line manager. When I execute my web dynpro, the first person (line) is highlighted automatically. If I want to click on that person's name to display info, it does not want to work.
I first have to select someone else whose name is not in the first row and then if I click on the person's name in the first row, the detail display.
What can I do so that if I want to select the first person in the itemlistbox, that I do not have to click on someone else first?
We are on ECC6; Portal 7.
Regards
Debbie
Hi Debbie ,
Sahai is right. You must have some issue with lead selection property.
When you create a context node its comes as automatically selected. Frm our context node we get the values either by using lead selection (by default) or we can get it by accessing index.
If you initialised lead selection property got checked then that means the first entry of your table ( which you bind with the context node ) get selected and its got highlighted. Change this , so that it does not initialized. At when you click then only it select the value.
Reply in case of any issue.
Thanks & Regards,
Monishankar C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hallo Debbie,
I assume that this listbox you mean is DropDownByIndex.
This behavior is as already mentioned caused by the context node property initialize lead selection property set to X. You can change this behvior by setting this property to false or you can use the programmatic way like .
ln_nd_yournode type ref to if_wd_context_node.
ln_nd_yournode = wdcontext->get_child_node( name = wd_this->wdctx_yournode ).
ln_nd_yournode->set_lead_selection_index( -1 ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Debbie van Zyl,
see whether the lead selection property has been checked if yes then just uncheck the checkbox there.....your problem will solve.
thanks and regards,
sahai.s
Edited by: sahai.s on Jan 20, 2011 1:14 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.