I want to use treegrid in a tab, is that possible and if so

I want to use treegrid in a tab, is that possible and
if so how.


It
is possible. Just attach “gridbox” div as a content to tabbar and
init grid inside it.


               




                                tabbar.addContent(“a1”,“gridbox”);


                               mygrid=new dhtmlXGridObject(“gridbox”);


                               …


 or



                                tabbar.setOnLoadingEnd(function(){


                                               mygrid=new
dhtmlXGridObject(“gridbox”);


                                               …                                          


                               });


                               tabbar.loadXML(tabs.xml);                       


                              tabbar XML


 
<?xml
version=“1.0”?>





   


        Tab 1-1


           


                <![CDATA[             <div id=“gridbox”
height=“200px”


width=“200px”>
        ]]>