Advertisement
ignatov

Untitled

Oct 4th, 2021
2,100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.16 KB | None | 0 0
  1. <mvc:View controllerName="com_zapplication99.controller.Table" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:mvc="sap.ui.core.mvc"
  2.     displayBlock="true" xmlns="sap.m">
  3.     <App>
  4.         <pages>
  5.             <Page>
  6.                 <content>
  7.                     <Table id="idEmployeesTable" inset="false" fixedLayout="Strict" alternateRowColors="true" items="{path: 'localJSON>/employeeData'}">
  8.                         <headerToolbar>
  9.                             <OverflowToolbar>
  10.                                 <Title text="{i18n>title}" level="H2"/>
  11.                                 <Title text="with love from {localJSON>/myProperty}" level="H2"/>
  12.                             </OverflowToolbar>
  13.                         </headerToolbar>
  14.                         <columns>
  15.                             <Column >
  16.                                 <Text text="Personnel Number"/>
  17.                             </Column>
  18.                             <Column >
  19.                                 <Text text="Name of Employee"/>
  20.                             </Column>
  21.                             <Column minScreenWidth="Tablet">
  22.                                 <Text text="EMail"/>
  23.                             </Column>
  24.                         </columns>
  25.                         <items>
  26.                             <ColumnListItem>
  27.                                 <cells>
  28.                                     <ObjectIdentifier text="{localJSON>id}"/>
  29.                                     <Text text="{localJSON>name}"/>
  30.                                     <Text text="{localJSON>email}"/>
  31.                                 </cells>
  32.                             </ColumnListItem>
  33.                         </items>
  34.                     </Table>
  35.                 </content>
  36.             </Page>
  37.         </pages>
  38.     </App>
  39. </mvc:View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement