on 09-30-2015 3:23 PM
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:
<Table>
<columns>
<Column><header><Label text="First" /></header></Column>
<Column><header><Label text="Second}" /></header></Column>
<Column><header><Label text="Third" /></header></Column>
</columns>
<items>
<ColumnListItem type="Navigation">
<cells>
<Label text="Firstname" />
<Label text="Lastname"> </Label>
<Label id="CompleteStatus" /> </Label><Button id="Button1" press="doSomething"> </Button>
</cells>
</ColumnListItem>
</items>
</Table>
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,
Abinash
hbox
<ColumnListItem><cells><Label text="{i18n>AMOUNT}"/> <HBox alignItems="Center" justifyContent="SpaceAround"> <Input id="AmountFrom"/><Label id="AmountToLabel" text="-"/><Input id="AmountTo"/></HBox></cells></ColumnListItem>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much Maksim. Was an instant solution!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.