Attach tabbar and toolbar

Hi,

Is it possible to attach tabbar and toolbar to a panel.

-Nitya

Hi
I need to specify to what kind of panel?

I mean I have layout 2U style and I wanted to add toobar and tabbar to right cell.I see both are attached but see two different headers created. I want both the bars with single header. Is is possible. I will try to create this and attach screenshot.

Yes, screenshot will be useful, please.

Darya,

I have attached screenshot of what exactly I am looking for. Please help me if this is possible.


Hi,

Can you please reply is this is possible.

Hi

Example for the following demo:
dhtmlx.com/docs/products/dht … nside.html

You can run code below directly in firebug after page is loaded:

[code]// remove existing menu/toolbar
tabbar.cells(“a1”).detachMenu();
tabbar.cells(“a1”).detachToolbar();

// init the new one
var t = document.createElement(“DIV”);
t.style.position = “absolute”;
t.style.height = “27px”;
t.style.top = “-1px”;
t.style.right = “0px”;
t.style.zIndex = 1001;

tabbar._tabAll.appendChild(t);

var tb = new dhtmlXToolbarObject(t,“dhx_skyblue”);
tb.setIconsPath("…/…/…/dhtmlxToolbar/samples/common/imgs/");
tb.addButton(“open”, 0, “Open”, “open.gif”)
tb.addButton(“save”, 1, “Save”, “save.gif”)

tb.cont.style.background=“none”;
tb.cont.childNodes[2].style.display=“none”;
tb.cont.childNodes[3].style.display=“none”;[/code]