I have a nested layout scheme and want to destroy the child layout in a parent cell to replace it with something else - what is the proper/clean way to destroy a layout?
There is no any kind of method for correct layout’s desctuction.
You can do the following:
(for example cell “a” containt layout you want to destroy)
dhxLayout.cells(“a”).layout = null;
dhxLayout.cells(“a”).attachObject(…); // just attach another object/component