Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Cj Talas on May 18, 2009 00:54
open dhtmlx forum
IE8 header

( the only known issue with IE8b2 is incorrect header rendering in IE8-Standard mode )

Hi i found this on your knowledge base.
I have the same issue but the thing is i requested a lot of customized changes and im afraid i dont recall those changes,
In connection with this i'm hoping you could just point me to the direction where i can correct the header problem and just insert the code.

Note: i am using the version DHTMLX: 1.5
Answer posted by Support on May 18, 2009 02:31
Unfortunately the issue can't be easily patched, the most simple way to resolve problem - update to latest version of the grid ( 2.1 )

If by some reason it not possible in your case, you can try to do next

In dhtmlxcommon.js 

replace 
else if(navigator.appName.indexOf("Microsoft")!=-1)
  _isIE=true;
else {


with
else if (navigator.appName.indexOf("Microsoft") != -1){
    _isIE=true;
    if (navigator.appVersion.indexOf("MSIE 8.0")!= -1 && document.compatMode != "BackCompat") _isIE=8;
} else {


in dhtmlxgrid.js 

replace
if (_isIE) hdrRow.style.position="absolute";
...
if (_isIE) tar.style.position="absolute";


with 
            if (_isIE && _isIE<8)
                hdrRow.style.position="absolute";
...
            if (_isIE && _isIE<8)
                tar.style.position="absolute";