on 06-24-2008 3:33 PM
Hi,
I have created a table with values in web dynpro. Now i want to display another table when user click on any row. Which event should i use to get the values of the selected row, so i can display them in another table on the same view.
Thanks,
attach an event to onSelect event of Table UI Control
and in the Event Handler use the following code to get the selected element.
data: lr_element type ref to if_wd_context_element.
lr_element = wd_event->get_context_element( 'CONTEXT_ELEMENT' ).
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> There is no onSelect for table UI element. It is onLeadSelect Only
>
> Abhi
I think you better take a closer look the next time you are in Web Dynpro - there sure are two different events - onSelect and onLeadSelect. Not sure what you are looking at. Be careful about posting incorrect information.
As to the difference in short it has to do with how many rows can be selected. For the full details check out the very nice blog by Thomas Szuecs:
[/people/thomas.szcs/blog/2006/07/24/basic-concepts--selection-vs-leadselection|/people/thomas.szcs/blog/2006/07/24/basic-concepts--selection-vs-leadselection]
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.