Skip to Content

Multiple controls under same coloumn in sap.ui.table

Sep 26, 2017 at 09:33 PM


avatar image
Former Member

Hi Experts,

Based on the type of data, multiple control( like input control, lable control, button control ) has to be displayed under same column in sap.ui.table using XML view.

for example:

1st record -> it should be label control

2nd record -> it should be input field control

3rd record -> it should be button control

The above controls are placed under same column in the table based on type of data or indicator.

how to achieve this in XML view?



10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Sep 27, 2017 at 12:50 AM

in my case, I have three type of control in one of the column, i just put all there and control the visibility based on needs. it worked for me.

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Jun Wu

Could you please provide code to get this. I am doing as below in xml view but its not working.Its still displaying label control without value but not input control with value.


<Label text="Customer " />


<Input value="{data>CUSTOMER}" />

<Label text="{data>CUSTOMER}" visible="false" />