on 03-02-2017 11:36 AM
Hi there,
regarding the following example:
https://sapui5.hana.ondemand.com/sdk/explored.html#/sample/sap.m.sample.QuickView/preview
How I'm able to set the position of the QuickView fragment that is opened by the button click? In the example above, the view gets opened at the right side of the button. This looks fine if the position of the button is on the left side of a screen. But my button is the within the <headerContent> in the upper right of a page. What happens is, that the QuickView will be opened on the right side anyway, which means that the content is displayed out of the screen:
Thanks!
Ok, got it by myself!
Just need to set the placement on the fragment.
var fragement = sap.ui.xmlfragment("ReportView.view.UserProfilePopup", this);
fragement .setPlacement(sap.m.PlacementType.Left);
BR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.