Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by mongkol on Oct 20, 2009 02:31
open dhtmlx forum
Why my grid header not display in ie 8 ?

I have dhtmlxcommon.js version v.1.2 build 80319 and dhtmlxgrid version 1.5 build 80319.
and i draw grid with follow this code
//-----code include javascript on header -----------------------------------------
    <link href="/path/css/dhtmlxcombo.css" rel="stylesheet" type="text/css" />
    <link href="/path/css/dhtmlxgrid.css" rel="stylesheet" type="text/css" />
    <script src="/path/filejs/dhtmlxcommon.js"></script>
    <script src="/path/filejs/dhtmlxcombo.js"></script>
    <script src="/path/filejs/dhtmlxgrid.js"></script>
    <script src="/path/filejs/ext/dhtmlxgrid_pgn.js"></script>
    <script src="/path/filejs/dhtmlxgridcell.js"></script>
    <script src="/path/filejs/excells/dhtmlxgrid_excell_link.js"></script>    
    <script>
        window.dhx_globalImgPath="/path/css/imgs/";
    </script>
//--------------------------------------------------------------------------------------

//------ my dom target ---------------------------------------
<div id="GirdList" style="width:95%; height:450px; margin-left:15px;"></div>
//----------------------------------------------------------------


//------ my draw grid code -----------------------------------

    mygrid = new dhtmlXGridObject('GirdList');
mygrid.setImagePath("css/imgs/");
mygrid.setHeader("NUMERO SERIE,CLIENTE,ARTICOLO,NEGOZIO,LINK,DELETE");
mygrid.setInitWidths("120,*,150,150,80,80")
mygrid.setColAlign("right,left,left,center,center,center")
mygrid.setColTypes("ro,ro,ro,ro,link,link");
mygrid.setColSorting("int,str,str,str,str,str");
    mygrid.enablePaging(true,10,3,"pagingArea",true,"recinfoArea");
mygrid.enableMultiselect(true)
mygrid.init();
    mygrid.loadXML(url);
//----------------------------------------------------------------

on firefox, IE6 and IE7 is good but on IE8 header is a one box

example on firefox, IE6 and IE7
___________________________________________________________________
| NUMERO SERIE | CLIENTE | ARTICOLO | NEGOZIO | LINK | DELETE |
|_______________|__________________|__________|________|_____|_______|

but on IE8 is
____________________________________________________________________
| |
|___________________________________________________________________|

why ?
Answer posted by dhxSupport on Oct 20, 2009 06:15
Unfortunately we cannot reproduce this issue locally. Please try to update your files to the latest one http://dhtmlx.com/docs/download.shtml