Attaching dhtmlxGrid & dhtmlxForm into Tabbar Cell

Hello, I’m a Noob Here…
I have create a windows that contains tabbar with 2 cells,
however… i would insert 2 form and 2 gridbox in cell “a1”.

Like This,

TAB A1 (active) | TAB A2 |


This is My Code :

<div id="tabbar" style="height:650px; width:100%; float:left;"></div>
var tabbar = new dhtmlXTabBar("tabbar", "top");
tabbar.addTab("a1", "New User", "150px");
tabbar.addTab("a2", "Old User", "150px");
var myForm = tabbar.cells("a1").attachForm();
	myForm.loadStruct("form_xml/userbaru1.xml?" + new Date().getTime());

If I attach again with dhtmlxGrid, the form does not appear.

howto make it?
Every reply would be appreciated :slight_smile:
Thank’s Before :slight_smile:

Unfortunately with attachForm/attachGris methods only one component can be places in the tabbar cell.
You may attach a layout or a accordion to your tabbar cell: … nside.html … nside.html
and add a needed component to each cell of a layout/accordion

Thank’s for the reply,
Done with attaching layout in windows.
too many attached component make me confused :smiley:

once again… Thank you very much.

I have the same problem.
Finally, I replace the form with a toolbar. It works.