Categories | Question details Back To List | ||
Inserting tree in tabbar Hi, have been trying to follow your example 'Integration with other components' which is unclear.. Can you send me a clear example how to archive this? Regards Tom Answer posted by Support on May 30, 2008 01:50 Basically the most simple approach a) initialize tabbar on the page b) intialize tree on the page c) use tabbar.setContent(id,tree_container); >>which is unclear.. Can you please specify, what is unclear ? ( The tabbar package contains full version of sample, with not compressed code ) Answer posted by richard white on May 31, 2008 09:41 >>Basically the most simple approach it may be simple to you but this has not worked >> Can you please specify, what is unclear ? ( The tabbar package contains full version of sample, with not compressed code ) this is not a good approach to reply to customers - it is unclear to me as well, i have just bought this product and cannot work out how to place a dhtmlxtree into a tab. remember, we are customers and we have paid for the support so it is not professional to make out that it is our fault for not being able to read the documentation - it is the documentation that is poor like tom asked - can you provide a working example as your documentation IS NOT CLEAR Answer posted by Support on Jun 03, 2008 01:54 The tabbar package contains dhtmlxtabbar/samples/interaction_other_components/tab_dhtmlx.html which is fully functional example of mentioned functionality. HTML code <div id="a_tabbar" style="width:352px; height:292px;"></div> <= tabbar container <div id='html_1' style="width:350px; height:250px"></div> <= tree container JS code //init tree var tree=new dhtmlXTreeObject('html_1','100%','100%',0); ... //init tabbar tabbar=new dhtmlXTabBar("a_tabbar","top"); tabbar.addTab("a1","Tree","100px"); //place tree into tabbar tabbar.setContent("a1","html_1"); There is no any special command, which need to be executed, any HTML content can be placed inside tabbar, it doesn't matter is it static HTML content, or any kind of dhtml component. |