Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Sy Kim on Aug 27, 2008 13:30
open dhtmlx forum
dhtmlx grid autoheight not consistent with differnet version of ie browser

We are currently using v.1.5 build 80319

oDxGrid = new dhtmlXGridObject(containerID);
oDxGrid.setImagePath("res/scripts/dhtmlx/imgs/");
oDxGrid.enableAutoHeigth(true);
oDxGrid.enableMultiline(true);
oDxGrid.setSkin("modern");
oDxGrid.init();
oDxGrid.clearAll();

var datasource = document.getElementById(containerID + "_DataSource");
var data = datasource.value;
oDxGrid.loadXMLString(data);

the grid looks fine in ie 6 but the scroll bars appear on ie 7

how can we make it look the same in both?

Thank you !!
Answer posted by Support on Aug 28, 2008 06:18
There were some issue with auto-size mode in dhtmlxgrid 1.5 which was fixed in dhtmlxgrid 1.6
It not clear from provided snippet how size was set for container, but you can try next two solutions
a) define single column in grid as flexible ( size = "*" ), it will autoadjust to prevent scrolls
b) you can add next code to disable any scroll.
       oDxGrid.loadXMLString(data);
       oDxGrid.objBox.overflowX="hidden";