Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 9057

tile container binding

$
0
0

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


Viewing all articles
Browse latest Browse all 9057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>