Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by chrissu on Jan 12, 2009 02:44
open dhtmlx forum
toolbar on top and tree below in tabbar

Hi,

I did not know how to add a question to an existing kb article: index.php?s=normal&q=7188, but this is exactly what i need.

I am using Layouts and tried the following:

left_tab = workspace.cells("a").attachTabbar();
left_tab.setImagePath("LIB/dhtmlxTabbar/codebase/imgs/");
left_tab.addTab("tab_sport","Sports","100px");
left_tab.setTabActive("tab_sport");

sport_bar = left_tab.cells("tab_sport").attachToolbar();

layouts and tabbar is built correctly, but when defining sport_bar as a toolbar inside tab "tab_sport" firebug returns an error: this._cells is undefined

Regards,
Chrissu
Answer posted on Jan 12, 2009 03:20
Please be sure that next js file included 
    dhtmlxtabbar/codebase/ext/dhtmlxtabbar_win.js

( the file was missed in some older version of package, so if you have not such one inside package - it can be downloaded from http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=5567&ssr=yes&s=dhtmlxtabbar_wins )