Vertical Accordion with Headers, programming examples of Vertical Accordion with Headers

Vertical Accordion with Headers, programming examples of Vertical Accordion with Headers

Get the programming example for creating vertical accordion items that consist of headers and bodies. The accordion items, or panes, can be expanded and collapsed in vertical direction. Don't hesitate to make use of coding samples by Webix as they significantly accelerate the process of web development.

JS Code

webix.ui({
  multi:true,
  view:"accordion",
  rows:[
    { header:"col 1", body:"content 1", height:140},
    { body:"Content 2" },
    { 
      header:"col 3",
      body:"content 3",
      height:140
    },
    { body:"Content 4" },
    { header:"col 5", body:"content 5", height:140}
  ]
});