Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: Can somebody share a snippet for using method addHeaderContent(oHeaderContent) for UI5 control ThingInspector

$
0
0

you can define like this

 

headerContent : [   new sap.ui.ux3.ThingGroup({id : "id3",title : 'Company Info',content : infoMatrix}),    new sap.ui.ux3.ThingGroup({title:'Title Instructions',content:titleInst}),  ],

and then define the content of the thinggroup

 

var infoMatrix = new sap.ui.commons.layout.MatrixLayout({layoutFixed:false,width:'100%',columns: 2});  infoMatrix.createRow(  leftCell.clone().addContent(new sap.ui.commons.Label({text:"Company ID"})),  rightCell.clone().addContent(new sap.ui.commons.TextField({value:'1115646'}))  );  infoMatrix.createRow(  leftCell.clone().addContent(new sap.ui.commons.Label({text:"Mail Documents?"})),  rightCell.clone().addContent(new sap.ui.commons.TextView({text:'Y'}))  );  infoMatrix.createRow(  leftCell.clone().addContent( new sap.ui.commons.Label({text:"Mailing Address"})),  rightCell.clone().addContent(new sap.ui.commons.TextArea({rows:4,value:'1234 Street Dr.,Anywhere St}))  );

Viewing all articles
Browse latest Browse all 8124

Trending Articles



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