onDestruct

occurs when component destroyed

void onDestruct();

Example

$$("mygrid").attachEvent("onDestruct", function(){
    this.some = null;
    webix.message("This is the end.");
});

Details

Can be used to free memory or delete the related objects

Back to top
If you have not checked yet, be sure to visit site of our main product Webix js framework and page of javascript context menu product.