Arranging fields in the form

Hi,

i have a form like this

 view: "form",
 editable:true,
 scroll:true,
   elements: [
                     {

                  view:"list",
                  width:250,
                  height:300,
                  template:"Fields,Values",
                  select:true,
                  edit:true,
                    data:[
                           { id:1, title:"Item 1"},
                           { id:2, title:"Item 2"},
                           { id:3, title:"Item 3"}
              ],
},
             {
               type: "button",
               cols: [
                        {},
                        {view: "button", 
                         label: "Export", 
                         width: 80, 
                        click: "$$('movie').hide();"},
         {view: "button", label: "Cancel", width: 80, click: "$$('movie').hide();"}
                                                      ]
                                                  }
                                              ]

The display of the fields in the form is like below

Fields,values
Fields,values
Fields,values

but my requirement is i have to have

Fields   values
movie    abc
movieyear 1990
country      india

and the last field rating which should be the drop down

rating and the drop down values are 5,4,3,2,1 and entire form should be editable

How can i do this … Please help me…

Hello,

the last field rating which should be the drop down

I can recommend you to use combo

rating and the drop down values are 5,4,3,2,1 and entire form should be editable

As I can see, you want to use in form the text view with a combo. These last two views are editable.
Please check the quick sample: https://snippet.webix.com/13zzw73h

Information about ComplexData: https://docs.webix.com/desktop__form.html#settinginitialvalues

If you want to create editable list: https://snippet.webix.com/dbnjpfi5
https://docs.webix.com/desktop__edit.html#editingotheruirelatedcomponents

@Nastja

Thank you