on 10-04-2010 9:51 AM
Hello,
I have 2 views in my web dynpro component.
In first view , i am taking carrid and on click of submit button , i am displaying connid,fldate,currency,planetype,seatsmax in second view.
I have one button on second view to go back to fist screen.
Now, My question is :
if i select a one row of table , i want to dispaly deatils of that row in first view.
How can i do this?
Please help.
Hi ,
I am not sure as to in which view you have your table.
To get details of the selected row of table , use onLeadSelect event of the table UI element.
In the handler , get the lead selected element using get_lead_selection( ) method.
then use the method get_static_attributes() on the lead selected element to get all details of the selected row and display it wherever you want it.
Thanks,
aditya.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The second part of the requirement is not clear on where woudl you click and where shoudl the data be shown.
However, all this data should be ideally maintained in the component controller i.e. the c.controller should have the conterxts and map relevant nodes to the appropriate views.
Now, all the data is in c.controller which can be accessed from any view within the component. This way you can show any data in contexts in preferred view.
Regards,
Sharath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.