You are on page 1of 1

<mvc:View xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mvc="sap.ui.core.

mvc"
xmlns="sap.ui.table" xmlns:u="sap.ui.unified"
xmlns:c="sap.ui.core" xmlns:m="sap.m"
controllerName="TablePagination.controller.View1" displayBlock="true"
height="100%">
<m:Page backgroundDesign="Solid" showHeader="true" title="Shippers Orders"
titleLevel="H3">
<m:content>
<m:Toolbar>
<m:Title text="Orders" level="H3" titleStyle="H3"/>
<m:ToolbarSpacer/>
<m:Button id="btn_previous" icon="sap-icon://nav-back"
tooltip="Previous" type="Transparent" press="previous"/>
<m:Button id="btn_next" icon="sap-icon://navigation-right-
arrow" tooltip="Next" type="Transparent" press="next"/>
</m:Toolbar>
<Table id="table" rows="{/Employees}" selectionMode="None"
visibleRowCount="3" enableScrolling="false">
<columns>
<Column>
<m:Label text="EmployeeID"/>
<template>
<m:Text text="{EmployeeID}"/>
</template>
</Column>
<Column>
<m:Label text="FirstName"/>
<template>
<m:Text text="{FirstName}"/>
</template>
</Column>
<Column >
<m:Label text="LastName"/>
<template>
<m:Label text="{LastName}"/>
</template>
</Column>
<Column>
<m:Label text="City"/>
<template>
<m:Label text="{City}"/>
</template>
</Column>
</columns>
</Table>
</m:content>
</m:Page>
</mvc:View>

You might also like