摘要: Step 25: Sorting and Grouping https://openui5.hana.ondemand.com/topic/c4b2a32bb72f483faa173e890e48d812 列表的排序与分组 webapp/view/InvoiceList.view.xml <mvc: 阅读全文
posted @ 2021-09-06 21:29 小石王 阅读(427) 评论(0) 推荐(0) 编辑
摘要: Step 23: Custom Formatters https://ui5.sap.com/#/topic/0f8626ed7b7542ffaa44601828db20de 上一节,使用UI5自己的支持表达式绑定的控件实现了,根据价格值的不同,显示不同的颜色。 如果是比较复杂的逻辑,使用表达式绑定 阅读全文
posted @ 2021-09-06 08:33 小石王 阅读(405) 评论(0) 推荐(0) 编辑
摘要: 表达式绑定 https://ui5.sap.com/#/topic/c98d57347ba444c6945f596584d2db45 webapp/view/InvoiceList.view.xml <mvc:View controllerName="sap.ui.demo.walkthrough. 阅读全文
posted @ 2021-09-06 08:32 小石王 阅读(392) 评论(0) 推荐(0) 编辑
摘要: Step 21: Data Types https://ui5.sap.com/#/topic/dfe04650afc046e0802abb1a1a90d2d9 上一节的json文件里只有价格,但是没有币种,UI5通过使用Data Types,可以根据币种的不同,自动格式化价格数字, 比如虽然价格的 阅读全文
posted @ 2021-09-06 08:31 小石王 阅读(444) 评论(0) 推荐(0) 编辑
摘要: Step 20: Aggregation Binding https://ui5.sap.com/#/topic/bf71375454654b44af01379a3c3a6273 数据绑定和列表控件 webapp/Invoices.json (New) { "Invoices": [ { "Prod 阅读全文
posted @ 2021-09-06 08:30 小石王 阅读(517) 评论(0) 推荐(0) 编辑