complexData

обеспечивает корректную обработку вложенных объектов

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

In this mode it is possible to use complex data object for getValues and setValues operations.

See also
Наверх