on 09-11-2009 12:23 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
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.