on 02-14-2011 10:21 AM
Hi experts,
I Have created a view in which there is a row of items price,qty,units....There is one add button whenever i click on the add item the same row should get added to it dynamically.when i click on remove it should get deleted..could anyone help me out in this regard..
Regards,
Mrinalini.
If available in your release, you could use the RowRepeater UI element. Then adding/deleting a row is just adding/deleting a context element from the data source node.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you have each row as set of usual controls,
you can generate next row as TranstparentContainer control
and elements within it dynamically, in event handler of your button ADD,
as described in following documentation:
HOW TO ADD UI ELEMENTS DYNAMICALLY IN WEB DYNPRO
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/b0b8dd16-5d78-2c10-6f82-c88fe4a7cae1
DYNAMIC USER INTERFACE GENERATION IN WEB DYNPRO
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/74cda090-0201-0010-6b91-f85b2489f765
same way as adding controls you can remove it - dynamically,
as described in the same docs.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.