Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8088

Dynamic creation of Layouts

$
0
0

Hi Friends,

I want to create a Matrix Layout like bellow.

 

var lmain = new sap.ui.commons.layout.MatrixLayout(layoutName, {

  columns : ConfigLine.COL_COUNT,

  width : weit,

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

  });

 

var LAYSEARCH = sap.ui.getCore().byId("LAYSEARCH");

var LAYFLUEGE = sap.ui.getCore().byId("LAYFLUEGE");

var ini = [];

ini.push("LAYSEARCH");

ini.push("LAYFLUEGE");

lmain.createRow([ini]);

 

But it does not work.

Ini shold be all the layouts I created before.

And all of them should be in a row.

Any help would appreciated.

Rg Joerg


Viewing all articles
Browse latest Browse all 8088

Trending Articles



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