destructor

destructs the calling object

void destructor();

Example

function recreate_grid(){
    if (grid)
        grid.destructor();
 
    grid = webix.ui({
    ..//new grid config
    });
}

Details

The destructor removes all HTML elements of the object, and detaches all related events.

Unloading destructors for all on-page components are called automatically and generally, you don't need to care about this.

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.
If you have not checked yet, be sure to visit site of our main product Webix ui component library and page of js window product.