SAP Fiori Elements List Report table 里的普通按钮,Global 按钮 和 Determining 按钮
生活随笔
收集整理的這篇文章主要介紹了
SAP Fiori Elements List Report table 里的普通按钮,Global 按钮 和 Determining 按钮
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
我在 manifest.json 的 extends 區(qū)域里定義了一個普通的自定義按鈕,global 屬性為 false:
"extends": {"extensions": {"sap.ui.controllerExtensions": {"sap.suite.ui.generic.template.ListReport.view.ListReport": {"controllerName": "com.sap.jerry.jerryfioriapp.ext.controller.ListReportExtension","sap.ui.generic.app": {"SEPMRA_C_PD_Product": {"EntitySet": "SEPMRA_C_PD_Product","Actions": {"ActionName1": {"id" : "ActionName1","text" : "Action Name One","press" : "onCustomAction1","requiresSelection": false,"global":false}}}}} }}},外觀如下:
global 屬性改成 true 后:
button 的按鈕位置發(fā)生了改變,跑到頁面右上角了:
從 breakoutActions.fragment.xml 的實現(xiàn)源代碼里發(fā)現(xiàn),custom action 還有一個 determining 屬性:
設(shè)成 true 之后,跑到屏幕下方 footer 區(qū)域了。雖然位置發(fā)生了變化,不影響點擊按鈕后的事件響應(yīng)。
更多Jerry的原創(chuàng)文章,盡在:“汪子熙”:
總結(jié)
以上是生活随笔為你收集整理的SAP Fiori Elements List Report table 里的普通按钮,Global 按钮 和 Determining 按钮的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: pce物价指数
- 下一篇: cifar10 数据集介绍「建议收藏」(