cancel
Showing results for 
Search instead for 
Did you mean: 

Add row to Web dynpro table

former_member450736
Active Participant
0 Kudos

Hi,

I am displaying data in web dynpro table in read-only mode.

my requriement is i have to add new row with input enabled , at the same time rest of the rows should be read only.

please suggest.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

This can be done by having one attribute of type wdy_boolean along with other attributed of table node.

When u bind the node for data source property of table,you should bind that attribute to the read only property

if each text edit UI element inside the individual Table Columns.

So while populating values for the table,

<structurename>-attribute = 'X '. for all the rows except last row.

Then u ll be appending blank line at the last for new row.While appending that row,pass

<Structurename>-attribute = ' '.

append <structurename> to <tablename>.

Then bind that table to the node.

Hope it helps!!!

Thanks,

Divya.S

Answers (0)