To destroy a DevExtreme widget, remove the DOM node associated with this widget.
$("#menuContainer").remove();