if dhtmlxGrid is in a hidden dom tree, call clearAll() will indirectly call this.setSizes(), in setSizes() will call
this._sizeTime = window.setTimeout(function() {
try {
c.setSizes && c.setSizes();
} catch (e) {}
}, 250);
this._sizeTime will never be cleared if dhtmlxGrid is in a hidden dom tree, so the dhtmlxGrid will never be released, this will cause a memory leak.
thanks!