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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.