Hi,
I have a HTML page working correctly on some server (windows server 2003, Apache2, IE7), but I have some unpredictable behaviour on a other one which is supposed to be quite similar. In the worse case, it gives a crash of IE, or at least a blank page.
I’ve tried to create a more simple page with only one functionnality in order to test if it was working or not, using a dhtmlxGrid (pro); here is the code:
"
grid_trial = new dhtmlXGridObject(‘grid_trial’);
grid_trial.setImagePath( (img_path + “/grid/imgs/”) );
grid_trial.setHeader(["","",“
grid_trial.setInitWidths(“0,65,140,245,245,85,140,65,0,0”);
grid_trial.setColAlign(“left,center,left,left,left,left,left,left,left,left”);
grid_trial.setSkin(“light”);
grid_trial.enableRowsHover(true,‘grid_hover’);
grid_trial.setColSorting(“int,int,str,str,str,str,str,str,str,str”);
grid_trial.setColTypes(“ro,ch,ro,ro,ro,ro,ro,ro,ro,ro”);
grid_trial.attachHeader(["…some code…"],["…some code…"]);
grid_trial.attachEvent(“onXLE”, function(grid) {
grid_trial.sortRows(2, “str”, “asc”);
});
grid_trial.enableSmartRendering(true,50);
grid_trial.init();
grid_trial.attachFooter(["…some code…"],["…some code…"]);
try
{
grid_trial.load(“some_url” , “json”);
}
catch(err)
{
//etc…
}
"
It seems that the crash happens will the grid is loading, as I can see the page with the empty grid just before it crashs down.
No error in apache logs …