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