Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Francisco Mariscal on May 08, 2009 10:20
open dhtmlx forum
Problem with Grid in IE works fine in FireFox

I am using DHTMLX Grid from Suite , professional edition.
I have this Grid that seems to block the page it apparently has two problems in IE
1.- When showing first time the grid it take too much time to show the page, then (near 1 minute)
2.- When I try to scrool down to see following registers, it takes one more time too much time to show it (2 o 3 minutes)
3.- When I scroll UP the grid to see the previous information already seen before

When I see exactly the same information, using FireFox it works as follows.
1.- When showing the same information it takes 8 seconds to show the firs page of information, (this is OK)
2.- When I scroll down the grid it takes 5 seconds to show the next information.
3.- When I scroll UP the grid to see the previous information already seen before


this the function I use to initialize the Grid:


function iniGrid(){
gridCRM = new dhtmlXGridObject('vehiculos');
gridCRM.setImagePath("dhtmlxSuite/imgs/");
gridCRM.setHeader("Cliente,Nombre Cliente,calif,frec,visMes,visitas,Credito Disponible,L27,M28,M29,J30,V1,S2,D3,L4,M5,M6,J7,V8,S9,D10,L11,M12,M13,J14,V15,S16,D17,L18,M19,M20,J21,V22,S23,D24,L25,M26,M27,J28,V29,S30,D31");
gridCRM.setInitWidths("50,150,0,0,0,30,70,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20")
gridCRM.setColAlign("left,left,left,left,left,left,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right,right")
gridCRM.setSkin("gray");
gridCRM.setColSorting("server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server,server");
gridCRM.setColTypes("ed,ed,ed,ed,ed,ed,edn,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link,link");
gridCRM._in_header_stat_count=function(tag,index,c){var calck=function(){return this.getRowsNum();}; this._stat_in_header(tag,calck,index,c);};
gridCRM._in_header_stat_count(document.getElementById('grid_countTop'),1,1);
gridCRM.init();
gridCRM.enableSmartRendering(true);
gridCRM.attachEvent("onBeforeSorting",sortGridOnServergridCRM);
gridCRM.attachEvent("onHeaderClick",clickHeadergridCRM);
gridCRM.attachEvent("onScroll",cambiarPaginagridCRM);
gridCRM.splitAt(7);
gridCRM.setNumberFormat("0,000",6,".",",");
gridCRM.attachEvent("onRowDblClicked",dobleclicVisitaCRM);
gridCRM.attachEvent("onResizeEnd",alCambiarTamano);
gridCRM.attachEvent("onRowCreated",colorCalificacion);
gridQStringgridCRM = "crmSeguimientosDatosXML.asp";
gridCRM.loadXML(gridQStringgridCRM );
gridCRM.showRow(39);
}




Thanks
Answer posted by dhxSupport on May 11, 2009 04:06
Could you please provide sample or link where we can repeat this problem?