cancel
Showing results for 
Search instead for 
Did you mean: 

how to set a row to ReadOnly after input?

Former Member
0 Kudos

Hi

I have a table in my webdynpro which in each time the user press "ADD ROW" the row is "open" for input.

is there a way to make the current row as ReadOnly each time the user press  "ADD ROW" (i want to get to the situation that the previous row is readonly and i alwys have 1 row in Input mode).

thanks

Ami

Accepted Solutions (0)

Answers (3)

Answers (3)

mangesh_sonawane
Participant
0 Kudos

Hello Ami,

Just assign one attribute of value wdy_boolean

Their are some events called onClick event just took that index and make that row editable.

And others as non-editable

Regards,

Mangesh Sonawane

Former Member
0 Kudos

Hi ami,

You add a attribute X of type wdui_visibility default value 'X' to the node which u had done create binding for a table.

You bind this attribute for the columns which u have make read only. As soon as user presses ADD ROW. You check for the non-empty record and set the value in loop as space ( ' ').

Ex :

FIELD-SYMBOLS <fs> TYPE ANY TABLE.

loop at it assigning <fs>.

<fs>-X = ' '.

endloop.

Set table it.

thanks

Vijay Vikram

amy_king
Active Contributor
0 Kudos

Hi Ami,

Please see the solutions mentioned in discussion, .

Cheers,

Amy