Footer --> Overloading

Dear sirs,

my Grid has got 24.000 rows and works well. When i use a footer to get a summary in 1 row my Firefox dies and it’s no more possible to work.
Any ideas why? Too much rows for this option? Normally i was thinking in a 5-lines-footer for 5 columns.

Here is an example source code:

<script>
	     function errechne_Footer() {			   
            var sum1 = document.getElementById("sum_anzahl");
            sum1.innerHTML = Summe(15);
            return true;
		 }
		 
		 function Summe(spalte) {
			var out = 0;
            for (var i = 0; i < Grid.getRowsNum(); i++) {
               out += parseFloat(Grid.cells2(i, spalte).getValue());
			}
            return out;
		 }

		 Grid = new dhtmlXGridObject('gridbox');
		 Grid.setImagePath("../dhtmlx/Grid/codebase/imgs/");
		 Grid.setHeader("WO-INT,WO-UM,img:[../images/icons/Apply.png],Typ,FoTi<br>MDS,FoTi<br>UM,Wartung,Service<br>Objekt,Abteilung,Techniker,Kostenstelle,Techniker<br>Termin,Erledigt,Erledigt<br>KW,CheckIn<br>KW,Summe<br>UM,Summe<br>SUB,LP<br>Abgerechnet");
		 Grid.attachHeader("#text_filter,#text_filter,&nbsp;,#select_filter,#select_filter,#select_filter,#select_filter,#select_filter,#select_filter,#select_filter,#select_filter,#text_filter,#text_filter,#numeric_filter,#numeric_filter,#numeric_filter,#numeric_filter,#text_filter");
		 Grid.setInitWidths("55,55,30,40,40,40,55,50,60,105,80,110,110,45,45,56,56,*");
		 Grid.setColAlign("center,center,center,center,center,center,center,center,center,center,center,center,center,center,center,right,right,center");
		 Grid.setColTypes("link,ro,acheck,ro,ro,ro,ro,ro,ro,ed,ed,ro,ro,ro,ro,price,price,ro");
		 Grid.setColSorting("int,int,str,str,str,str,str,str,str,str,str,date,date,int,int,int,int,str");
		 Grid.attachEvent("onEditCell", errechne_Footer);
		 Grid.setSkin("dhx_skyblue");		 
		 Grid.init();
		 Grid.attachFooter("Summe,<div id='sum_anzahl'>0</div>", ["text-align:left;"]);
		 Grid.enableSmartRendering(true, 20);
		 Grid.loadXML("../dhtmlx/Grid/php/get_3.php", errechne_Footer);
      </script>

Thank you in advance.

greetings
Oliver

Try to use built-in sum functionality - it will work dramatically faster.

docs.dhtmlx.com/doku.php?id=dhtm … #shortcuts