getChildViews

returns child views of the calling component

array getChildViews();
arrayan array of child view objects

Example

var tree = webix.ui({ 
    id:"mylayout",
    rows:[
        { view:"toolbar", type:"MainBar" },
        ...
    ]
});
 
var toolbar = $$('myLayout').getChildViews()[0];
var tbarName = $$('myLayout').getChildViews()[0].name;

See also
Back to top