occurs when component destroyed
$$("mygrid").attachEvent("onDestruct", function(){ this.some = null; webix.message("This is the end."); });
Can be used to free memory or delete the related objects