complexData

enables complex data parsing mode

boolean complexData;

Example

var form = webix.ui({
    view:"form", complexData:true, elements:[
      { view:"text", name:"user.firstname"},
      { view:"text", name:"user.lastname"}
    ]
});
 
form.setValues({
    user:{
        firstname:"Mark",
        lastname:"Varuno"
    }
})

Related samples

Details

This mode is needed for the getValues and setValues methods to correctly work with complex objects (objects that have other objects as properties).

See also
Back to top