Skip to Content

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

Unable to delete a Tile from tile container?

Hi all,

I have a 5 tiles in a view.In the Init method of the view i am checking a certain condition and want to delete the respective tile.

I am using the following code in init to delete

var main = sap.ui.getCore().byId("idUI_tilecontainer"); //Getting the container reference

var tile    = sap.ui.getCore().byId("idUI_tile2"); //Getting the tile reference

main.deleteTile(tile);

I am getting the following error in the console and the tile is not getting deleted.The error is referring to the standard controller TileContainer.js

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