I am using SAPUI5 with HANA DB to create a custom dashboard.
I need to add a CustomTile (with different layout and content) in the onInit function of my controller by the below code. It works perfectly fine in Firefox. But in Chrome, the tile is simply not shown and I also can't find it within the HTML elements:
onInit: function() {
var oTileContainer = this.getView().byId("tileContainer");
var quantTile = new sap.m.CustomTile({/* Some content ... */});
oTileContainer.insertTile(quantTile, 0);
},
For completeness, here is the relevant part of my XML view:
<TileContainer id="tileContainer" tiles="{/TileCollection}">
<CustomTile>
<!-- Some content ... -->
</CustomTile>
</TileContainer>
Does anyone have any idea why it might not be shown/rendered within Chrome, but in Firefox? Is there any procedure that I can call that forces a re-render or something similar?
Thanks
TileContainerhad a bug which is fixed now. - Boghyon Hoffmann