|
1 |
| -<mvc:View |
2 |
| - controllerName="com.mrb.UI5-Navigation-and-Routing.controller.employee.overview.EmployeeOverviewContent" |
3 |
| - xmlns="sap.m" |
| 1 | +<mvc:View controllerName="com.mrb.UI5-Navigation-and-Routing.controller.employee.overview.EmployeeOverviewContent" |
| 2 | + xmlns="sap.m" |
4 | 3 | xmlns:mvc="sap.ui.core.mvc">
|
5 |
| - <Table id="employeesTable" |
6 |
| - items="{/Employees}"> |
| 4 | + <Table id="employeesTable" items="{/Employees}" itemPress=".onItemPressed"> |
7 | 5 | <headerToolbar>
|
8 | 6 | <Toolbar>
|
9 | 7 | <Title text="{i18n>Employees}" level="H2"/>
|
|
13 | 11 | </Toolbar>
|
14 | 12 | </headerToolbar>
|
15 | 13 | <columns>
|
16 |
| - <Column id="employeeIDCol"><Text text="{i18n>EmployeeID}"/></Column> |
17 |
| - <Column id="firstNameCol" demandPopin="true"><Text text="{i18n>formFirstName}"/></Column> |
18 |
| - <Column id="lastNameCol" demandPopin="true"><Text text="{i18n>formLastName}"/></Column> |
19 |
| - <Column id="addressCol" minScreenWidth="Tablet" demandPopin="true"><Text text="{i18n>formAddress}"/></Column> |
20 |
| - <Column id="cityCol" minScreenWidth="Tablet" demandPopin="true"><Text text="{i18n>formCity}"/></Column> |
21 |
| - <Column id="regionCol" minScreenWidth="Tablet" demandPopin="true"><Text text="{i18n>Region}"/></Column> |
22 |
| - <Column id="postalCodeCol" minScreenWidth="Tablet" demandPopin="true"><Text text="{i18n>formPostalCode}"/></Column> |
23 |
| - <Column id="countryCol" minScreenWidth="Tablet" demandPopin="true"><Text text="{i18n>formCountry}"/></Column> |
24 |
| - <Column id="homePhoneCol" minScreenWidth="Tablet" demandPopin="true" hAlign="Right"><Text text="{i18n>Phone}"/></Column> |
| 14 | + <Column id="employeeIDCol"> |
| 15 | + <Text text="{i18n>EmployeeID}"/> |
| 16 | + </Column> |
| 17 | + <Column id="firstNameCol" demandPopin="true"> |
| 18 | + <Text text="{i18n>formFirstName}"/> |
| 19 | + </Column> |
| 20 | + <Column id="lastNameCol" demandPopin="true"> |
| 21 | + <Text text="{i18n>formLastName}"/> |
| 22 | + </Column> |
| 23 | + <Column id="addressCol" minScreenWidth="Tablet" demandPopin="true"> |
| 24 | + <Text text="{i18n>formAddress}"/> |
| 25 | + </Column> |
| 26 | + <Column id="cityCol" minScreenWidth="Tablet" demandPopin="true"> |
| 27 | + <Text text="{i18n>formCity}"/> |
| 28 | + </Column> |
| 29 | + <Column id="regionCol" minScreenWidth="Tablet" demandPopin="true"> |
| 30 | + <Text text="{i18n>Region}"/> |
| 31 | + </Column> |
| 32 | + <Column id="postalCodeCol" minScreenWidth="Tablet" demandPopin="true"> |
| 33 | + <Text text="{i18n>formPostalCode}"/> |
| 34 | + </Column> |
| 35 | + <Column id="countryCol" minScreenWidth="Tablet" demandPopin="true"> |
| 36 | + <Text text="{i18n>formCountry}"/> |
| 37 | + </Column> |
| 38 | + <Column id="homePhoneCol" minScreenWidth="Tablet" demandPopin="true" hAlign="Right"> |
| 39 | + <Text text="{i18n>Phone}"/> |
| 40 | + </Column> |
25 | 41 | </columns>
|
26 | 42 | <items>
|
27 |
| - <ColumnListItem> |
| 43 | + <ColumnListItem type="Active"> |
28 | 44 | <cells>
|
29 | 45 | <Text text="{EmployeeID}"/>
|
30 | 46 | <Text text="{FirstName}"/>
|
|
0 commit comments