In the standard value help, there is no footer in the dialogue. and there is no header tab like "define condition". Personally, I like the clean layout.
So, according to the standard value help layout, it seems that if we want to mimic the standard value help we just need to add the smart future and smart table in a dialog and use the fixFlex control to separate them.
There is the example code:
<core:FragmentDefinition xmlns="sap.m" xmlns:mvc="sap.ui.core.mvc" xmlns:core="sap.ui.core" xmlns:l="sap.ui.layout"
xmlns:u="sap.ui.unified" xmlns:smartTable="sap.ui.comp.smarttable" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar"
xmlns:f="sap.f">
<Dialog id="referenceSalesContractDialog" showHeader="ture" draggable="true" enableScrolling="false"
resizable="true" contentHeight="90%" contentWidth="93%">
<customHeader>
<Bar id="barId">
<contentLeft>
<Title text="" />
</contentLeft>
</Bar>
</customHeader>
<Page showHeader="false" showFooter="false" enableScrolling="false">
<content>
<l:FixFlex minFlexSize="20">
<l:fixContent>
<smartFilterBar:SmartFilterBar filterBarExpanded="false" expandAdvancedArea="false"
enableBasicSearch="true" entitySet="">
<smartFilterBar:layoutData>
<FlexItemData shrinkFactor="0" />
</smartFilterBar:layoutData>
</smartFilterBar:SmartFilterBar>
</l:fixContent>
<l:flexContent>
<smartTable:SmartTable tableType="ResponsiveTable" class="sapUiSmallMarginBeginEnd"
demandPopin="true" enableAutoColumnWidth="true" useVariantManagement="false" header="Items"
enableExport="false" showRowCount="true" entitySet="">
<smartTable:layoutData>
<FlexItemData growFactor="1" baseSize="0%" />
</smartTable:layoutData>
<Table>
<columns>
</columns>
<items>
<ColumnListItem type="Active" press="">
</ColumnListItem>
</items>
</Table>
</smartTable:SmartTable>
</l:flexContent>
</l:FixFlex>
</content>
</Page>
<endButton>
<Button text="Cancel" press="" />
</endButton>
</Dialog>
</core:FragmentDefinition>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
23 | |
11 | |
10 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 |