Hi,
I’m using this code to display a grid:
[code]var mygrid = new dhtmlXGridObject(‘test’);
mygrid.setImagePath("./imgs/");
mygrid.setHeader(",Username,Online");
mygrid.setInitWidths(“24,120,*”);
mygrid.setColAlign(“left,left,left”);
mygrid.setColTypes(“img,ro,ro”);
mygrid.setColSorting(“str,str,str”);
mygrid.enableAutoHeight(true,500,true);
mygrid.init();
mygrid.setSkin("dhx_skyblue");
mygrid.enableMultiselect(false);
mygrid.enableColumnMove(false);
mygrid.load("./get_user.php", "json");
mygrid.attachEvent("onRowSelect", rowSelected);[/code]
In FireFox it looks allright, but in IE (vers. 9) the columns have all the same width over the full grid (in FF there is free space at the right side od the grid).
The header-cols and the row-cols does not fit, the row-cols are wider than the header-cols.
If I want to resize a column, larger or smaller, the div-container of the grid grows.
I don’t know whats going wrong
There are no javascript errors.
Does anyone have a solution?
thanks hibbert