Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82271

Through all the rows including hidden

$
0
0
Hi all friends,
Return to reformulate my problem
I am using server-side and Scroller
what I need is to add a column cell by cell in all rows
This is my code
 
"oScroller": {
		"loadingIndicator": true,
		"trace": true,
		},
"fnDrawCallback": function(oSettings) {
$(oTable.fnGetNodes()).each(function()
						{
									
						var poso = oTable.fnGetPosition(this); 
						var ido = oTable.fnGetData(poso)[8];
						var valor = oTable.fnGetData(poso)[9];
						
						if(ido==<?=$z->ctacte_f?> || ido==<?=$z->ctacte_nd?>)
						{
					
							saldomas +=parseFloat(valor);
							
						}
						else
						{
							saldomenos +=parseFloat(valor);
						}	
						
						})
},
error console gives me so
"Row height: 19 Viewport height: 320 Viewport rows: 17 rows Display: 153"
and actually I have 1000 rows
Example
http://sincroniavirtual.no-ip.org/gestion1/buscar_cte_cliente2.php?proveedor=1
Greetings and thank you very much

Viewing all articles
Browse latest Browse all 82271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>