cancel
Showing results for 
Search instead for 
Did you mean: 

StandardTile and GenericTile SAPUI5

miguelangel_daz
Explorer
0 Kudos

Can I to put in the same TileContainer a StandardTile and a GenericTile?

I'm trying unsuccessfully.

Thanks in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

yogesh_beria
Explorer
0 Kudos

Hi Miguel,

I was unable to add a GenericTile to a TileContainer.

It should have worked as the aggregation says that the tiles have to be a sap.ui.core.Control which is also true for GenericTile.

However, adding it directly to a page works.


StandardTile works fine with the TileContainer.


To add a GenericTile to a TileContainer, I wrapped it in the sap.m.CustomTile as its content and then added this CustomTile to the TileContainer. That works for me.


Regards,

Yogesh

0 Kudos

Hi Miguel,

Did you manage to find a solution to it?

Regards,

Kannan