on 06-14-2018 9:36 AM
Hello,
I've got an SAPUI5 app with structure like this:
xmlns:smartTable="sap.ui.comp.smarttable"
xmlns:table="sap.ui.table"
xmlns:semantic="sap.m.semantic"
...
<semantic:FullscreenPage enableScrolling="true"
<semantic:content>
<smartTable:SmartTable>
<table:Table visibleRowCountMode="Auto">
...
but I got two scroll bar(check attachment).
I've ever tried to set enableScrolling="false" for semantic:FullscreenPage, but some part of the table missing unless I set Browser Zoom to 70%.
How can I get ride of the two scroll bar without losing data of the table?
Thanks and regards,
Blangero
Hi,
This is an example of a view with smartFilterBar and SmartTable, and no scrollbar:
<mvc:View>
<Page>
<VBox fitContainer="true">
<sfb:SmartFilterBar>
<sfb:controlConfiguration>
..........
</sfb:controlConfiguration>
<sfb:customData>
<core:CustomData key="dateFormatSettings" value='\{"UTC":true\}' />
</sfb:customData>
<sfb:layoutData>
<FlexItemData shrinkFactor="0" />
</sfb:layoutData>
</sfb:SmartFilterBar>
<st:SmartTable class="sapUiResponsiveContentPadding">
<st:customData>
<core:CustomData key="dateFormatSettings" value='\{"UTC":true\}' />
</st:customData>
<st:layoutData>
<FlexItemData growFactor="1" baseSize="0%" />
</st:layoutData>
<table:Table>
..........
</table:Table>
</st:SmartTable>
</VBox>
</Page>
</mvc:View>
This works fine for me, maybe same for you 🙂
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Cristian, it works!
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.