Showing results for 
Search instead for 
Did you mean: 

How to change column span width in form layout.

0 Kudos

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.

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:""})],





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


Accepted Solutions (0)

Answers (1)

Answers (1)

Active Contributor
0 Kudos

See the source code of examples given for grid layout and accordingly try your code.

2ns option - use matrix layout.


0 Kudos

requested ressource not found