grid within tab causing horizontal scrollbars to appear

Hi,



We have a grid thats within a tabbar, and whenever it finishes loading, the horizontal scrollbars appear, even if we set the div width to a much small size







    function doInitGrid(){

        //alert(‘initialiezed’);

        mygrid = new dhtmlXGridObject(‘mygrid_container’);

         mygrid.setImagePath("/rae/scripts/dhtmlxTreePro/imgs/");                         

        //mygrid.setHeader(“ID,PSGL ID
,GS ID
,Legal Entity
,Region
”);

        mygrid.setHeader(“ID,PSGL ID,GS ID,Legal Entity,Region”);

        mygrid.attachHeader("#master_checkbox,#text_filter,#text_filter,#text_filter,#text_filter");                 

        mygrid.setInitWidths(“50,100,100,500,150”);

        mygrid.setColAlign(“left,left,left,left,left”);

        mygrid.setColTypes(“ch,ro,ro,ro,ro”);                     

        mygrid.setSkin(“clear”);

        //mygrid.attachEvent(“onCheckbox”,saveToParent);

        mygrid.attachEvent(“onXLE”, endGridLoad);

        mygrid.init();

        //mygrid.makeFilter(“PSGL”, 1);



        mygrid.loadXML("/…/…",checkthem);

        mygrid.stopFastOperations();

        document.getElementById(‘legalEntityGridCount’).value = mygrid.getRowsNum();

    }










<div id=“a_tabbar” class=“dhtmlxTabBar” imgpath="/…/"

oninit=“a_tabbar.setOnSelectHandler(selectTab);a_tabbar.setSize(1000,800,false)” skinColors="#FCFBFC,#F4F3EE" >























 





















=====================



Screenshot: img149.imageshack.us/img149/9874/gridap2.jpg



This bug will be fixed at the next dhtmlxGrid build. If you need changes immediately please contact support@dhtmlx.com and provide you ref. ID