Through all the rows including hidden
Through all the rows including hidden
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
[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);
}
})
},
[/code]
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
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
[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);
}
})
},
[/code]
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
This discussion has been closed.
Replies
regards