Hi,
With IE 8, I have a pb with the height of the DIV which contains my grid.
I defined my DIV as
and here is the result with Firefox:
and here is the result with IE:
So I have a large space after my grid and the following
Thank you
Hi,
With IE 8, I have a pb with the height of the DIV which contains my grid.
I defined my DIV as
To fix this issue you need to add necessary height to the grid container:
I already used enableAutoHeigth(true) and for my grid mygrid it’s correct but for my grid mygridI there’s a blank and I think an error in the calcul of the height of the grid with IE8.
My version is 70223.
mygridI = new dhtmlXGridObject(‘gridboxI’);
mygridI.entBox.onselectstart = function(){ return true; };
mygridI.setImagePath(“imgs/”);
mygridI.setHeader("<?= affiche_langue($LIBrapport_intervention_evenement,1) ?>");
mygridI.setInitWidths(“645”);
mygridI.setColAlign(“left”);
mygridI.setColTypes(“rotxt”);
mygridI.setColSorting(“str”);
mygridI.setStyle(“background: url(…/image/corner_th.jpg) no-repeat #7A95B4;color:#FFFFFF;padding: 4px 2px;font-size: 11px;font-weight: bold;border-left: 1px solid #5B7297;border-right: 1px solid #A5C4DA;”,“border: 0px;padding: 4px 2px;font-size: 10px;”)
mygridI.setOnRowSelectHandler(OnClickedRowI,true);
mygridI.setOnLoadingEnd(OnLoadingI);
mygridI.setOnRightClick(OnRightClick)
mygridI.enableAutoHeigth(true);
mygridI.enableMultiline(true);
mygridI.init();
mygridI.enableAlterCss(“even”,“uneven”);
mygridI.loadXML(“xml/getListeIncident.php”);
mygrid = new dhtmlXGridObject(‘gridbox’);
mygrid.entBox.onselectstart = function(){ return true; };
mygrid.setImagePath(“imgs/”);
mygrid.setHeader("<?= affiche_langue($LIBfaitRAA,1) ?>,<?= affiche_langue($LIBfaitDATE_HEURE,1) ?>,<?= affiche_langue($LIBfait_info,1) ?>,<?= affiche_langue($LIBfaitVALIDE,1) ?>,<?= affiche_langue($LIBfaitDIFFUSION,1) ?>,");
mygrid.setInitWidths(“30,100,385,65,0,65,0,0”);
mygrid.setColAlign(“center,center,left,center,center,center,left,left”);
mygrid.setColTypes(“img,rotxt,rotxt,ch,rotxt,ch,rotxt,rotxt”);
mygrid.setColSorting(“str,str,str,str,str,str,str,str”);
mygrid.setStyle(“background: url(…/image/corner_th.jpg) no-repeat #7A95B4;color:#FFFFFF;padding: 4px 2px;font-size: 11px;font-weight: bold;border-left: 1px solid #5B7297;border-right: 1px solid #A5C4DA;”,“border: 0px;padding: 4px 2px;font-size: 10px;”)
mygrid.setOnRowDblClickedHandler(OnDblClickedRow);
mygrid.setOnRowSelectHandler(OnClickedRow,true);
mygrid.setOnCheckHandler(OnCheckHandler);
mygrid.setOnLoadingEnd(OnLoading);
mygrid.setOnRightClick(OnRightClick)
mygrid.enableAutoHeigth(true);
mygrid.enableMultiline(true);
mygrid.init();
mygrid.setColumnHidden(4,true);
mygrid.setColumnHidden(6,true);
mygrid.setColumnHidden(7,true);
mygrid.enableAlterCss(“even”,“uneven”);
mygrid.loadXML(“xml/getListeFait.php?id_cas=<?= $_SESSION['CAS'] ?>”);