Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

POPUP is not getting displayed

Hi All,

I am trying  to add some filters and sorting buttons to the sap.m.table,so I landed up using new sap.m.ViewSettingsDialog.

But while in process I came to know my code is not working for Popover. I have even tried the basic Popover  as shown below.

none of the elements explained under popup section in below link is  getting displayed during compiling.

SAPUI5 Explored

new sap.m.Button( {

  icon: "sap-icon://action-settings",


  tap: function(){

  console.log("BUTTON PRESSED"),

  new sap.m.Popover({ title:"sort and  filter"})



Could you please explain if I am missing some i need to add any sources in the index file specially for Popup's

Note:In above code while compiling "dialog" Button is getting displayed and "BUTTON PRESSED" is getting displayed in log but not popover and its not showing any error as well.


You are declared the popover but you are not opened. that's the reson you are not getting popover

var oPopOver =  new sap.m.Popover({ title:"sort and  filter"})



JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.m.Popover

example- openui5/src/sap.m/test/sap/m/demokit/sample/Popover at master · SAP/openui5 · GitHub

0 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question