dhtmlXGrid Header problems

I’m in dhtmlXGrid 1.4 prof edition.



I have a problem, the headers are hidden.



I create some grids inside a dhtmlXTabbar, one grid per tab.



The dhtmlXTabbar and the dhtmlXGrid are created on the fly when an Ajax response return the HTML code and the Javascript code:



            var myAry = result.parseJSON();

            

            document.getElementById(‘browser’).innerHTML = myAry.html;



             var oScript = document.createElement(“script”);

            oScript.text = myAry.AjaxScript;

            oScript.type = “text/javascript”;

            document.body.appendChild(oScript);



Debugin the result with Firebug, if I change the display attribute to inline or block to the TD writed after the TD that contain the table that contain the headers, I view it!



Any suggerence?



Thanks for all!

Kind Regards

�lex Corretg�

Such issue can occur if grid can’t detect his size correctly on moment of initialization ( I’m not really sure how it can occurs , because grid 1.4 solved most similar issues which was in previous versions )
Please try to add next line to your js initialization code
   
    window.setTimeout(function(){
          gridObject.setSizes();
    },1);


Call of setSizes method must normalize the structure of grid.