<mvc:View controllerName="com.zsmart.controller.Main"
xmlns:mvc="sap.ui.core.mvc" displayBlock="true"
xmlns="sap.m" xmlns:smartFilterBar="sap.ui.comp.smartfilterbar" xmlns:smartTable="sap.ui.comp.smarttable">
<Page id="page" >
<content >
<smartFilterBar:SmartFilterBar id="smartFilterBar" persistencyKey="UniqueAndStablePersistencyKey"
entitySet="Orders">
<smartFilterBar:layoutData>
<FlexItemData id="idFlex" shrinkFactor="0"/>
</smartFilterBar:layoutData>
<smartFilterBar:controlConfiguration>
<smartFilterBar:ControlConfiguration id="CustomerID" key="CustomerID" />
</smartFilterBar:controlConfiguration>
</smartFilterBar:SmartFilterBar>
<smartTable:SmartTable id="smartTable" entitySet="Orders" smartFilterId="smartFilterBar" enableAutoColumnWidth="true"
initiallyVisibleFields="CustomerID,OrderID,Freight,ShipName,ShipCity,OrderDate,RequiredDate,ShippedDate" useVariantManagement="false" useTablePersonalisation="true" header="Order Details" showRowCount="true">
<smartTable:layoutData>
<FlexItemData id="idFlex1" growFactor="1" baseSize="0%"/>
</smartTable:layoutData>
<List id="idList"
items="{/Orders}">
<ObjectListItem id="idObjectList"
title="{CustomerID}"
type="Active"
number="{
parts:[{path:'OrderID'},{path:'Freight'}],
formatOptions: {showMeasure: false}
}"
numberUnit="{EmployeeID}">
<ObjectAttribute id="idObjAtt" text="{ShipName}" />
<ObjectAttribute id="idObjAtt1" text="{ShipCity}" />
</ObjectListItem>
</List>
</smartTable:SmartTable>
</content>
</Page>
</mvc:View>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
7 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |