occurs immediately after the component has been rendered

void onAfterRender();


some.attachEvent("onAfterRender", function(){
    //... some code here ... 


The event fires each time the component is redrawn, not only after the component has been created.

To catch the moment of creation, supply it with webix.once() helper:

some.attachEvent("onAfterRender", webix.once(function(){ 
    console.log('called once after first rendering:'); 
See also
Back to top
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of javascript tree visualization product.