Arrays

The 'Array' type allows us to work with dynamic arrays in your model data or. On the other hand you can select items from predefined arrays in schema

Model Arrays

Handling Arrays in Model

Array

model: {
  edit:'to do'
  tasks:[
    { done:false, task:'read the man' }
    { done:true, task:'fixed' }
  ]        
},

schema: {
  edit: { type:'text', col: 12 },
  tasks: {
    type: 'array',
    col: 12,
    schema: {
      done: { type: 'checkbox', label: 'Done', col: 2 },
      task: { type: 'text', label:'Task', col: 8 }
    }
  }
}

Example - Simplearrow-up-right

Example - Edit Arrayarrow-up-right

Lists & Treeviewschevron-right

Schema Arrays

For handling Arrays defined in Schema use

Select, Combo & Autocompletechevron-right

Last updated