Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by DjekLU on Nov 13, 2008 05:01
open dhtmlx forum
Detach or reattch object in layout

How can i do reattach object in layout.
For example:
in some event - do it:
dhxLayout.cells("b").attachObject(document.getElementById("div1"));
in else some event - do this:
dhxLayout.cells("b").attachObject(document.getElementById("div2"));

but error:
Помилка: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: http://127.0.0.1/dxhtml/dhtmlx%20v2.0%20free%20simple/my_tree/full/dhtmlx.js :: anonymous :: line 1754" data: no]
Answer posted by Support on Nov 14, 2008 05:26
Hello,

Unfortunately layout doen not support such functionality.
This will added in future release.