cancel
Showing results for 
Search instead for 
Did you mean: 

all the rows of the table data to be filled and selected by default

Former Member
0 Kudos

Hi All,

I am working on the normal table UI element in which my requirement is when clicked on the table row that related data shoud be filled into another table and all the rows shoud be selected by defalut can any one suggest me how to achive this functionality....

Kindly help...

Have a Good Day...

Regards,

Sana.....

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

After filling the data into the node which is binded to the table control. code as follows

data: lr_node type ref to if_wd_context_node.

data: lt_elem type wdr_context_element_set.

data: lr_elem type ref to if_wd_context_element.

lr_node = wd_context->get_child_node( '<node_name>' ).

lt_elem = lr_node->get_elements( ).

loop at lt_elem into lr_elem.

lr_elem->set_selected( abap_true ).

endloop.

Former Member
0 Kudos

Hi Abhi,

Thanks a lot t solved my problem ....

Regards,

Misbah Sultana ..

Answers (0)