Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kostas Tilelis on Dec 02, 2008 08:27
open dhtmlx forum
dhtmxlLayout and dhtmlxTabbar issue (firefox 2.x)

Hi,

I am trying to attach an dhtmlxTabbar object inside a dhtmlxLayout object cell.
The tabs are displayed correctly but they are placed inside the dhtmlxLayout object cell's header.

The code is the following:
function drawTabs(){
tabbar = indexLayout.cells("b").attachTabbar();
tabbar.setImagePath("dhtmlx/dhtmlxTabbar/codebase/imgs/");
tabbar.setAlign("left");
tabbar.addTab("intra_no_item_summary_tab", "Summary", "100px");
tabbar.addTab("intra_no_item_items_tab", "Items", "100px");
tabbar.addTab("intra_no_item_observations_tab", "Observations", "100px");
}

indexLayout is the global variable for the dhtmlxLayout object.

Thank you for your time!
Answer posted by Support on Dec 02, 2008 09:01
Actually this is expected scenario, while all other components uses only data part of the cell, tabbar use header of grid for tab elements, and data part of cell for tab content. 
http://dhtmlx.com/docs/products/dhtmlxLayout/samples/components/tabbar.html?un=1228194120000