Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to Add two controls in one cell in sap.m.Table

Hi community,

I have a problem which i am not able to find solution to. I want to add two controls in a single cell of a sap.m.Table. Code is as follows:



        <Column><header><Label text="First" /></header></Column>

        <Column><header><Label text="Second}" /></header></Column>

        <Column><header><Label text="Third" /></header></Column>




      <ColumnListItem type="Navigation">


        <Label text="Firstname" />

        <Label text="Lastname"> </Label>

        <Label id="CompleteStatus" /> </Label><Button id="Button1" press="doSomething"> </Button>





My question is there a possible way to put the above red marked controls(Label + Button) in a single cell in the table.

Thanks in advance

Thanks and Regards,


Former Member


<ColumnListItem><cells><Label text="{i18n>AMOUNT}"/>   <HBox alignItems="Center" justifyContent="SpaceAround"> <Input id="AmountFrom"/><Label id="AmountToLabel" text="-"/><Input id="AmountTo"/></HBox></cells></ColumnListItem>

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question