on 03-21-2008 9:23 AM
I am using Row repeater and displaying 100 rows of data using Link to Action .
My problem is if i click one of the Linkto Action Button I need to fetch the particular record that i clicked , And in click event for the link to action i read the context its giving the first value of the node.
Then how to get the particaular record is selected in the Rowrepeater
Hi,
Try this,
Data lr_event type ref to if_wd_context_element.
lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
lr_event->get_static_attributes(
IMPORTING
Static_attributes = ls_value ).
Regards,
Padmam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In link to action method ,declare a parameter context_element as importing parameter with reference to if_wd_context_element.
data: ls_value type (node structure for which the table is bound).
context_element->get_static_attributes(
IMPORTING
Static_attributes = ls_value ).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikranth,
I am having two text views in a row.
I have to display multiple rows which r similar to above row ( Dynamically based on data available ). Using row repeater or multipane how can we do that .
Thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the Suggestions
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
when you click on the link to action, the event handle method has one importing parameter row index. you can use this index to read the context element at that index.
Regards
Saurabh Garg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use the follwing code
element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
w_index = element->get_index( ).
by knowing the index u can come to know which row is selected.
Regards,
janakiram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.