Skip to Content
0
Former Member
Apr 16, 2014 at 08:43 AM

tile container binding

82 Views

hi,

i want to include tile container in sucha a way that it is being included in panel before placing in matrix layout cell so that i can toggle the animation on click event but i m facing problem as the tile container is not showing tiles.Enable scrolling false is already set .i m also attaching relevant piece of code .

can anybody please help me regarding this .

var oTileContainer = new sap.m.TileContainer("idTileContainer", {

allowAdd : true,

editable : false,

});

oTileContainer.bindAggregation("tiles", "/mobile", oProductTile);

var panel=new sap.m.Panel("p1",{content:[oTileContainer ]});

var oMainMatrixLayout=new sap.ui.commons.layout.MatrixLayout("idMainMatrixLayout",{

widths:['10%','80%','10%'],

columns :3,

oMainMatrixLayout.createRow(null,panel,null);

thanks in advance