DHTML Grid

We are using the dhtml grid in both Mozilla and Internet Explorer. The scroll bars are appearing fine in Mozilla, but are not appearing to work in IE.



Here is our code to create the grid:



function CreateGrid(array, name) {

    document.write("<div id="" + name + “” width=“100%” height=“150px” style=“background-color:white; overflow:hidden”>");



mygrid = new dhtmlXGridObject(name);

mygrid.setImagePath("/codebase/imgs/");

mygrid.setHeader(“Slip Date,Post Date,Ref. Number,Description,Amount”);

mygrid.enableAutoWidth(true);

mygrid.enableAutoHeight(true,“100”);

mygrid.setColTypes(“ro,ro,ro,ro,ro”);

mygrid.setColSorting(“int,int,int,str,str”);



mygrid.init();

mygrid.setSkin(“light”);

mygrid.parse(array,“jsarray”);



}

What version of dhtmlxGrid do you use? Similar problem was fixed in the latest dhtmlxGrid 2.1. version. Please contact sales@dhtmlx.com to update your files

The version I am using is:
dhtmlxGrid v.2.1 Standard edition build 90226

Please note that you allways have to define grid’s columns widths. You can do it with setInitWidths() method. Without using this method problems with scrollbar could appear