Unable to delete a Tile from tile container?
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
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