cancel
Showing results for 
Search instead for 
Did you mean: 

Different UI elemets in column of a table.

Former Member
0 Kudos

Hi Experts,

Can i insert different UI elements in a Table column... i mean like i have a table column and in 1st row i want to insert Textview and in the second row i want to insert drop down in the same colimn...........

regards

Amit

Accepted Solutions (1)

Accepted Solutions (1)

pranav_nagpal2
Contributor
0 Kudos

Hi Amit,

I faced similar design issue but was not able to do it directly in a single table.... what i did was i used differnt tables with single row.... layout here will be row layout for transparent container in which you will be inserting all the tables.... now for every table keep the layout as rowdata dont use rowhead data to change the line it will automatically come one below other.....

but one thing that i want to tell you my UI was not that complicated.... and also you have to insert too many nodes for every table.. so coding will also bring some complications..........

regards

Pranav

Former Member
0 Kudos

Thnks for quick reply...

So does it mean that we can not enter different UI elements in differnt row of same column...???

pranav_nagpal2
Contributor
0 Kudos

I am not sure but i was not able to do it... Thomas or some other moderator or mentor might help you out...

but wht i gave was an alternative to it..........

regards

Pranav

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>

> Thnks for quick reply...

>

> So does it mean that we can not enter different UI elements in differnt row of same column...???

Of course you can. You need to read about table cell editors and variants:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/56/5e9041d3c72e7be10000000a1550b0/frameset.htm

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/5d9041d3c72e7be10000000a1550b0/frameset.htm

Within a table column, you can insert multiple cell editors and assign them to a different variant. Then at the tableColumn level you have a property called selectedCellVariant. You can data bind this property and then the attribute you are bound to will control which cell editor/UI element is used for a particular row of the table.

Former Member
0 Kudos

Thanks...

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Using the CELLVARIANT you can achieve this.

Check out this Article on the same-

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0e7461d-5e6c-2b10-dda9-9e99df4d...

Regards,

Lekha.