</semantic:titleHeading> <semantic:content> <!-- For client side filtering add this to the items attribute: parameters: {operationMode: 'Client'}}" --> <List id="list" width="auto" class="sapFDynamicPageAlignContent" items="{ path: '/Orders', parameters: {expand: 'Customer'}, sorter: { path: 'OrderID', descending: true }, groupHeaderFactory: '.createGroupHeader' }" busyIndicatorDelay="{masterView>/delay}" mode="{= ${device>/system/phone} ? 'None' : 'SingleSelectMaster'}" growing="true" growingScrollToLoad="true" updateFinished=".onUpdateFinished" selectionChange=".onSelectionChange"> <noData> <IllustratedMessage title="{masterView>/noDataText}" illustrationType="sapIllus-NoFilterResults" enableDefaultTitleAndDescription="false"/> </noData> <infoToolbar> <Toolbar active="true" id="filterBar" visible="{masterView>/isFilterBarVisible}" press=".onOpenViewSettings"> <Title id="filterBarLabel" text="{masterView>/filterBarLabel}" /> </Toolbar> </infoToolbar> <headerToolbar> <OverflowToolbar> <SearchField id="searchField" showRefreshButton="true" tooltip="{i18n>masterSearchTooltip}" width="100%" search=".onSearch"> <layoutData> <OverflowToolbarLayoutData minWidth="150px" maxWidth="240px" shrinkable="true" priority="NeverOverflow"/> </layoutData> </SearchField> <ToolbarSpacer/> <Button id="filterButton" press=".onOpenViewSettings" icon="sap-icon://filter" type="Transparent"/> <Button id="groupButton" press=".onOpenViewSettings" icon="sap-icon://group-2" type="Transparent"/> </OverflowToolbar> </headerToolbar> <items> <ObjectListItem type="{= ${device>/system/phone} ? 'Active' : 'Inactive'}" press=".onSelectionChange" title="{ parts: [ 'i18n>commonItemTitle', 'OrderID' ], formatter: 'formatMessage' }" number="{ path: 'OrderDate', type: 'DateType', formatOptions: { style: 'short' } }"> <firstStatus> <ObjectStatus state="{ parts: [ {path: 'RequiredDate'}, {path: 'ShippedDate'}, {path: 'OrderID'} ], formatter:'.formatter.deliveryState' }" text="{ parts: [ {path: 'RequiredDate'}, {path: 'ShippedDate'}, {path: 'OrderID'} ], formatter:'.formatter.deliveryText' }"/> </firstStatus> <attributes> <ObjectAttribute id="companyName" text="{Customer/CompanyName}" /> <ObjectAttribute title="{i18n>commonItemShipped}" text="{= ${ShippedDate} ? ${ path: 'ShippedDate', type: 'DateType', formatOptions: { style: 'medium' } } : ${i18n>commonItemNotYetShipped} }" /> </attributes> </ObjectListItem> </items> </List> </semantic:content> </semantic:SemanticPage> </mvc:View>