on 12-28-2009 9:34 AM
Hi ,
I have a table control in which last column is delete icon. To delete a row i need to click on this delete icon without selecting the any row in the table.
My doubt is how to read a particular row where i click on "delete" icon. table leadselection might be at the first row. But i want to delete the 3rd row. So when i click on delete icon only 3rd should get deleted but not the 1st row.
When the leadselection is not set for a specific row how to read that row...?
Could anybody give me any ideay ?
Regards
Sireesha.
Hi,
Refer this code. It will give you index of row in which link to Action is clicked .
data: lr_element type ref to if_wd_context_element.
DATA ls_cn_popin TYPE wd_this->element_cn_popin.
lr_element = wdevent->get_context_element( 'CONTEXT_ELEMENT' ).
* get all declared attributes
lr_element->get_static_attributes(
IMPORTING
static_attributes = ls_cn_popin ).
data lv type I.
lv = lr_element->GET_INDEX( ).
cn_popin is Node name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.