Skip to Content
0
Former Member
Jan 26, 2017 at 07:00 AM

SAPUI5 Popup placing in screen

806 Views

Hi,

I am using a split app, on my master screen I have an input field and I want to display a popup with search help when the user presses the value help.

I have this code for the popup

var oValueHelpDialog = new sap.ui.ux3.ToolPopup({
modal : true,
inverted : false, // disable color inversion
title : "Select Sold-to Number",
opener : "SoldToInput", // locate dialog next to this field
closed : function(oEvent) {
}
});

When I press the value help, the popup appears but not directly next to the input field but at the other end of the detail screen. How can I set the position because it seems the opener does not work here?

Thanks,

Tim