Advertisement
ignatov

Untitled

Mar 10th, 2020
849
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.30 KB | None | 0 0
  1. <mvc:View controllerName="com.employeeDb.controller.Default" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mvc="sap.ui.core.mvc"
  2.     xmlns:core="sap.ui.core" displayBlock="true" xmlns="sap.m">
  3.     <App>
  4.         <Page title="">
  5.             <Table id="idEmployeeTable" inset="false" items="{employee>/}">
  6.                 <headerToolbar>
  7.                     <OverflowToolbar>
  8.                         <content>
  9.                             <Title text="Employee's DB" level="H2"/>
  10.                             <ToolbarSpacer/>
  11.                            
  12.                         <OverflowToolbar>
  13.                 <SearchField liveChange="onSearch" width="100%" />
  14.             </OverflowToolbar>
  15.                         </content>
  16.                     </OverflowToolbar>
  17.                 </headerToolbar>
  18.                 <columns>
  19.                     <Column>
  20.                         <Text text="Name"/>
  21.                     </Column>
  22.                     <Column>
  23.                         <Text text="Last Name"/>
  24.                     </Column>
  25.                     <Column>
  26.                         <Text text="Phone Number"/>
  27.                     </Column>
  28.                     <Column>
  29.                         <Text text="Workplace"/>
  30.                     </Column>
  31.                     <Column>
  32.                         <Text text="Additional Info"/>
  33.                     </Column>
  34.                 </columns>
  35.                 <items>
  36.                     <ColumnListItem>
  37.                         <cells>
  38.                             <Text text="{employee>emplName}"/>
  39.                             <Text text="{employee>emplLName}"/>
  40.                             <Text text="{employee>emplPhoneNum}"/>
  41.                             <Text text="{employee>emplWorkPlace}"/>
  42.                             <core:Icon src="sap-icon://process"/>
  43.                         </cells>
  44.                     </ColumnListItem>
  45.                 </items>
  46.             </Table>
  47.         </Page>
  48.     </App>
  49. </mvc:View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement