Skip to Content
0

SAPUI5: redundant empty column in sap.m.table (Only in Launchpad)

May 24, 2017 at 06:27 AM

128

avatar image

Hi experts,

I have a problem. When I test my app in web ide, all works fine. But when i deploy it to Fiori launchpad, In my tables (sap.m.table) i get a new column in the beginning, which broke my UI in mobile version. This is the <td> of this column from html:

Maybe somebody faced with issue? Do you know how to remove it?

Best Regards,

Mikhail

untitled.png (6.7 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Akhilesh Upadhyay May 24, 2017 at 08:51 AM
0

paste your table declaration code.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
<Table items="{xxxxx}" headerText="{xxxx}">
<columns>
<Column width="40px" visible="{path:'Status', formatter: '.formatColumnVisibilityForDevices'}">
</Column>
<Column minScreenWidth="Tablet" demandPopin="true" >
<header><Label text=""/></header>
</Column>
<Column minScreenWidth="Tablet" demandPopin="true" hAlign="Left" wrapping="true">
<header><Label text="{i18n>xxx}"/></header>
</Column>
<Column minScreenWidth="Tablet" demandPopin="true" hAlign="Left">
<header><Label text="{i18n>xxxxx}" textAlign="Left"/></header>
</Column>
<Column minScreenWidth="Tablet" demandPopin="true" hAlign="Left">
<header><Label text="{i18n>xxxxx}"/></header>
</Column>
</columns>
<ColumnListItem vAlign="Middle">
<cells>
<Button visible="false"/>
<Text text="{xxxx}"/>
<Text text="{path:'xxxx', formatter: '.xxxxx'}"/>
<Text text="{path:'x>xxx', formatter: '.formatApprovalStatus'}"/>
<Text text="{path:'xxx>xxx', type: 'sap.ui.model.type.DateTime', formatOptions: { pattern: 'MMMM dd, yyyy', UTC: true}, formatter: '.xxxxx'}"/>
</cells>
</ColumnListItem>
</Table>
0

what happens if you remove hardcoded width for first col i.e. width="40px" and scond if you remove minScreenWidth property. just remove and check if any significant difference.

0