Resizing a page without a grid calls setInitWidths

Hi,
I am using dhtmlxgrid on my web page. Under certain conditions, I delete the grid and place something else in the div that contained the grid.
Now when I resize the page, setSizes<setInitWidths runs and resizes the div to a very small area.

Is there a way to cleanly delete a grid so that functions related to the grid don’t continue to run?

Thanks,
Harini

try to use destructor() method.

Have a look at the following tutorial: http://docs.dhtmlx.com/doku.php?id=dhtmlxgrid:api_method_dhtmlxgridobject_destructor

Thanks!
That’s exactly what I was looking for.

-Harini