on 10-23-2014 7:09 PM
Experts,
I've extended an MM_PO_APV app in SAPUI5, and challenged to hide the 'Forward' button extending the controoler, with the following code:
this.setHeaderFooterOptions({
oPositiveAction: {
sI18nBtnTxt: that.resourceBundle.getText("XBUT_APPROVE"),
onBtnPressed: jQuery.proxy(that.handleApprove, that)
},
oNegativeAction: {
sI18nBtnTxt: that.resourceBundle.getText("XBUT_REJECT"),
onBtnPressed: jQuery.proxy(that.handleReject, that)
},
onBack: jQuery.proxy(function() {
//Check if a navigation to master is the previous entry in the history
var sDir = sap.ui.core.routing.History.getInstance().getDirection(this.oRouter.getURL("master"));
if (sDir === "Backwards") {
window.history.go(-1);
} else {
//we came from somewhere else - create the master view
this.oRouter.navTo("master");
}
}, this)
});
But there is a button link 'Save as Tile' that I want to remove, but i didn't found anything about it. Could you help me please?
Actually:
What I want to achieve:
Regards,
André
I only managed the solution by adding the property bSuppressBookmarkButton
Thank you all!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Andre,
One other question. Are you update the archive or extend the application ?
Thanks,
Marcelo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Andre Mafra,
Are you create the extension in S3.controller.js or S3-dbg.controller.js.
I need to supress the same button but is not correct in my case
Please,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.