Skip to Content

Create dynamic genericTiles based on Model

Hello,

we want to greate dynamic GenericTiles based on our Data Model... Is there a way to do this?

I found the TileContainer but this Element is deprecaded sind a lot of versions...

Is there a way to create an amount of genericTiles dynamicly?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 14, 2020 at 09:02 AM

    Hi Carsten,

    If I understand your question correctly, you want to dynamically generate multiple tiles.

    You could do this by encapsulating your tiles in a container, for eg:

    1. Create a Grid Control (sap.ui.layout.Grid).

    2. To its content aggregation do the aggregation binding with template being a Generic Tile (sap.m.GenericTile)

    Hope this helps you.

    Best Regards,

    Rohit

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 14, 2020 at 11:13 AM
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.