Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Jan 29, 2009 11:42
open dhtmlx forum
Grid alignment in IE6

Hey

I have a grid alignment issue in IE6 only. below is the situation..

I have a page loads with Grid, if I click on the link which is on one of the column takes me to the another page and when I come back to this grid page, all the grid columns will be aligned to left(headers stay same)..and when I move my scroll bar in the down it resets immediately..

Is there any solution for this? I would appreciate for the support
Answer posted by Support on Jan 30, 2009 00:42
Most probably you has link similar to 
         <a href="#" onclick="do_some()"
In case of using # inside link, it will focus to the top of page which may affect scroll state of element on the page. 

You can try to add next code 

dhtmlxEvent(window,"focus",function(){
        grid.doOnScroll(0,1);
});

It will correct scroll position each time when window come in focus