on 06-11-2023 10:01 AM
hi every one
my table have 14 records and i cant scroll in table
i can use ( enableScrolling="true" ) but i want only table container can be scroll
Can anyone please help me here
<mvc:View controllerName="ZFRC_V2.controller.Main" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
xmlns:smartFilterBar="sap.ui.comp.smartfilterbar" xmlns:smartTable="sap.ui.comp.smarttable" height="100%">
<Page showHeader="false" enableScrolling="false">
<content>
<IconTabBar expandable="false" id="idIconTabBarNoIcons" stretchContentHeight="true">
<items>
<IconTabFilter text="{i18n>FoodList}" key="FoodList">
<smartFilterBar:SmartFilterBar id="FoodListFilterB" entitySet="ES_FOOD_LIST">
<smartFilterBar:controlConfiguration>
<smartFilterBar:ControlConfiguration key="FOOD_ID" visibleInAdvancedArea="true"/>
<smartFilterBar:ControlConfiguration key="FOOD_NAME" visibleInAdvancedArea="true"/>
</smartFilterBar:controlConfiguration>
<smartFilterBar:layoutData>
<FlexItemData shrinkFactor="0"/>
</smartFilterBar:layoutData>
</smartFilterBar:SmartFilterBar>
<smartTable:SmartTable id="FoodList" entitySet="ES_FOOD_LIST" smartFilterId="FoodListFilterB" enableAutoColumnWidth="true"
useExportToExcel="true" enableAutoBinding="true">
<Table mode="SingleSelectLeft"/>
<smartTable:customToolbar>
<OverflowToolbar design="Transparent">
<ToolbarSpacer/>
<OverflowToolbarButton icon="sap-icon://delete" tooltip="Delete Record" press="FLDR"/>
<OverflowToolbarButton icon="sap-icon://save" tooltip="Save Record" press="FLSR"/>
</OverflowToolbar>
</smartTable:customToolbar>
<smartTable:layoutData>
<FlexItemData growFactor="1" baseSize="0%"/>
</smartTable:layoutData>
</smartTable:SmartTable>
</IconTabFilter>
</items>
</IconTabBar>
</content>
</Page>
</mvc:View>
use grid table
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
9 | |
9 | |
8 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.