on 05-06-2009 1:32 AM
Hi,
I have the following requirement. I need to create a table shown below.
COLUMN1 COLUMN2
ROW1 cell11 cell21
ROW2 cell12 cell22
I need cell11 and cell22 to be textviews and cell12 and cell21 to be inputfields. In other words, I need different cells in a table column to be of different types.
How do I do this.
Thank
Hi,
An easier way to switch between input field and text view is to just bind the readOnly property. Why actually switch between InputField and TextView.
Create an attribute 'EDITABLE' type Boolean in the node that is bound to the table.
1.Create all the cell editors as input field.
2.Bind the readOnly poperty with the attribuite 'EDITABLE'
3.Now pass abap_true to make it a text view and abap_false to make in input enabled.
However it is possible to switch between different UI elements using Cell Variant .
Check these links:
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/85/48a841c1dae034e10000000a1550b0/frameset.htm]
[http://help.sap.com/saphelp_nw70ehp1/helpdata/en/56/5e9041d3c72e7be10000000a1550b0/frameset.htm]
[https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0e7461d-5e6c-2b10-dda9-9e99df4d136d]
Regards,
Radhika.
Edited by: Radhika Vadher on May 6, 2009 7:49 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.