Skip to Content

SAPUI5 Position of QuickView fragment

Mar 02, 2017 at 11:36 AM


avatar image
Former Member

Hi there,

regarding the following example:

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:


qv1.png (56.5 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
avatar image
Former Member Mar 02, 2017 at 12:06 PM

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);


10 |10000 characters needed characters left characters exceeded