Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by jboadas on May 14, 2008 09:13
open dhtmlx forum
DHTMLGrid Vertical Scroll Error

I have this code:

<div class="gridbox gridbox_light" id="gridbox" style="width:250px; height:150px;">xxx</div>
<script>
mygrid = new dhtmlXGridObject('gridbox');
mygrid.imgURL = "../javascripts/codebase/imgs/";
mygrid.setHeader("Column A, Column B");
mygrid.setInitWidths("100,155");
mygrid.setColAlign("right,left");
mygrid.setColTypes("ro,ed");
mygrid.setColSorting("int,str");
mygrid.init();
mygrid.loadXML("../javascripts/codebase/grid.xml");
</script>

When I try to scroll down the grid I cant see the data

here is an screenshot:
http://i28.tinypic.com/be9h4.jpg
Answer posted by Support on May 15, 2008 05:53

Are you using customized css styles?
The situation on screenshoot may appear in FireFox when because of incorrect styles grid's container slightly lesser that grid content inside ( it seems that FF has a bug in rendering engine, which not redraw some part of scrolled container )

All default skins was tested and must not cause problem on its own, so it may be caused only by css customization or by using some global css styles, which conflict with styles of grid ( global TD or global DIV styles )

If problem still occurs for you - please send any kind of the sample where problem can be reconstructe ( you can send it directly to support@dhtmlx.com )