Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

How to change column span width in form layout.

$
0
0

Hi All,

 

I have built a form like below, here highlighted field has long text so some text is missing with "..." string so i want to increase the column span width it has column span has 3 so i want to change this width can any one help me on this.

Capture.PNG

 

I have code as GridLayout below...

 

var oLayout166 = new sap.ui.commons.form.GridLayout("L166");

                    

                              var oForm166 = new sap.ui.commons.form.Form("F166",{

        layout: oLayout166,

                    width: "50%",

        formContainers: [

                new sap.ui.commons.form.FormContainer("F1C166",{

                           title: "PURCHASING INFORMATION",

                     formElements: [

                                                      

                             new sap.ui.commons.form.FormElement({

                                     label: "Purchasing Org",

                                     fields: [new sap.ui.commons.ComboBox("purchasingorg", {items : [

                                                                                

                                                                                new sap.ui.core.ListItem("PurchasingOrg1", {text:""})],

                                                                                                                                                                                                        required:true,

                                                                                                                                                                                                        })

                                     ],

 

                                     layoutData: new sap.ui.commons.layout.ResponsiveFlowLayoutData({linebreak: true, margin: true}),

                             }),


Viewing all articles
Browse latest Browse all 6178

Trending Articles



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