cancel
Showing results for 
Search instead for 
Did you mean: 

row of table control

Former Member
0 Kudos

hi all,

how can i make my selected row in input mode and other in display mode.

means, i want to make row in input mode when i select it.

Accepted Solutions (1)

Accepted Solutions (1)

abhimanyu_lagishetti7
Active Contributor
0 Kudos

Create a context attribute(readonly) in the Node of type WDY_BOOLEAN.

Create your table control with all the columns as InputFields and bind the readonly property to this context attribute( for all the input fields )

In the onLeadSelect Event hanlder of the table write the code.

data: lr_elem type ref to if_wd_context_element.

lr_elem = wdevent->get_cotnext_element( 'CONTEXT_ELEMENT' ).

lr_elem->set_attribute( name = 'READONLY' value = abap_true ).

Abhi

Former Member
0 Kudos

hi abhi ,

i want the selected row should be in input mode not coloum, please reply.

abhimanyu_lagishetti7
Active Contributor
0 Kudos

the solution is for selected row only, not the entire column

data: lr_elem type ref to if_wd_context_element.

lr_elem = wdevent->get_cotnext_element( 'CONTEXT_ELEMENT' ).

lr_elem->set_attribute( name = 'READONLY' value = abap_false ).

Abhi

Edited by: Abhimanyu Lagishetti on Aug 6, 2008 12:27 PM

Former Member
0 Kudos

Thanks for ur Reply

Answers (0)