Fieldset

API Reference

Overview

Fieldset is a grouping control based on HTML < fieldset > tag. Creates a section with borders to place the controls into it.

Initialization

Fieldset can be used to neatly put the controls into layout:

{view:"fieldset", body:{
    rows:[
        {view:"text", ..}, 
        {view:"button", ..}]
 }
}

Related sample:  Multiple Fieldsets

Or, to create a control group within a form:

{view:"form", elements:[
    {view:"text", ..},
    {view:"fieldset", body:{
        rows:[
            {view:"text", ..}, 
            {view:"datepicker", ..}]}
    }
]}

Related sample:  Fieldset

Main Properties

  • body (object) - fieldset body object that contains rows or cols array with controls;
  • label (string) - text label of the control group, integrated into border.
Back to top