SapUI5- Tile container not working

前端 未结 1 1032
旧时难觅i
旧时难觅i 2021-01-24 15:19

For some reason the tilecontainer is not working. If I place a list instead of Tiles , its working fine. I am trying to build a simple app which contains tiles. I am new to SAPU

1条回答
  •  一个人的身影
    2021-01-24 15:56

    Sometimes the TileContainer can be a bit tricky. You have to take care of some attributes in the parent container. Make sure your Page uses the following attribute:

    
    

    And one more pitfall could be that you´re using data binding. As long there is no object in your model at /items no single tile will be rendered. So either make sure that your model contains items and the model is assigned to your view or start testing it without binding the tiles property and do it static like this:

    
    
        
            
                

    0 讨论(0)
提交回复
热议问题