Is There a dettachObject type of functionality for the layout object?
After attaching ab object:
dhxLayout.cells(“c”).attachObject(“panel_add_edit_designgrid_sql”);
then replacing the content later:
dhxLayout.cells(“c”).attachHTMLString(“
No Field Selected
When trying to reattach:
dhxLayout.cells(“c”).attachObject(“panel_add_edit_designgrid_sql”);
The following error is caught:
uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER)” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: cms.local/_components/dhtmlxLayo … ntainer.js :: anonymous :: line 13” data: no]