sum of all records from server-side

sum of all records from server-side

tumbero_xtumbero_x Posts: 63Questions: 0Answers: 0
edited April 2013 in General
hi Allan
looking and looking for ways to sum ​​all records I get from server-side, I found the same problem another user
http://datatables.net/forums/discussion/814/sums-in-footer-with-serverside-data-processing/p1
I'm doing exactly what I do but I still sum the records to show per page and not that high from the server

thank you very much for any information
regards

[code]
"fnServerData": function ( sSource, aoData, fnCallback, oSettings ) {
aoData.push( { "name": "proveedor", "value": "<?php echo $_GET['proveedor'] ?>" } );
aoData.push( { "name": "min", "value": $('#min').val() } );
aoData.push( { "name": "max", "value": $('#max').val() } );

$.getJSON( sSource, aoData, function (json) {
alert(json.total)
fnCallback(json)
} );
[/code]
Datatables is the best plugin for jquery
This discussion has been closed.