on 02-19-2008 2:59 AM
Hi,
I am displaying a standard table. In addition to the fields of the table, I am displaying another column with a link.
If the user click the link, I have to lead select the corresponding entire row.
How can I code this?
Thanks in advance.
Regards,
Balaji.R
Make Use of Supply function..
in the component context, assign a supply function to your desired node and create it using forward navigation..
Regards
vikram salvi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Balaji,
Try this code.
data lo_nd_nodename type ref to if_wd_context_node.
data lo_el_nodename type ref to if_wd_context_element.
data ls_nodename type wd_this->element_nodename.
navigate from <CONTEXT> to <NODENAME> via lead selection
lo_nd_nodename = wd_context->get_child_node( name = wd_this->wdctx_nodename ).
get element via lead selection
lo_el_nodename = lo_nd_nodename->get_element( ).
lo_el_nodename = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
@TODO handle not set lead selection
if lo_el_nodename is not initial.
get all declared attributes
lo_el_nodename->get_static_attributes(
importing
static_attributes = ls_nodename ).
endif.
if lo_nd_nodename is not initial.
call method lo_nd_nodename->set_lead_selection
exporting
element = lo_el_nodename.
endif.
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.