Skip to Content

Multiple controls under same coloumn in sap.ui.table

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?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    Add comment
    10|10000 characters needed characters exceeded

    • 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" />