dhtmlxLayout cell content

Hi,



How can i change dhtmlxLayout cell content with

content?



example:





Teste1

Teste2





Volume Name





Volume Size







Outro Quadro





Outro Volume















With this code, the first time i click on the links on cell “a” it works Ok, the contents on cell “b” changes,

but when i click again on same links i have a javascript error like this one:



Error: uncaught exception: [Exception… “Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMHTMLDivElement.appendChild]” nsresult: “0x80004003 (NS_ERROR_INVALID_POINTER)” location: “JS frame :: 127.0.0.1/newjs/dhtmlxwindows.js :: anonymous :: line 86” data: no]



Regards



JDM

Hello

Here is an script behaviour explanation:

<!–[if gte mso 10]>

/* Style Definitions */ table.MsoNormalTable {mso-style-name:"������� �������"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} table.MsoTableGrid {mso-style-name:"����� �������"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; border:solid windowtext 1.0pt; mso-border-alt:solid windowtext .5pt; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-border-insideh:.5pt solid windowtext; mso-border-insidev:.5pt solid windowtext; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;}

<![endif]–>


command


result


page init


div id=�objA� attached to body


div id=�objB� attached to body


layout.cells(�a�).attachObject(�objA�)


div id=�objA� attached to layout.cells(�a�)


div id=�objB� attached to body


layout.cells(�a�).attachObject(�objB�)


div id=�objA� automatically destroyed by layout


div id=�objB� attached to layout.cells(�a�)


layout.cells(�a�).attachObject(�objA�)


div id=�objB� automatically destroyed by layout


div id=�objA� not exists <- error