I have a mysql table that has a column of positive decimal numbers. I test this with my select and even an echo via php. Its positive alright.
I setup a naked page with one column and did a setup of the plugin.
var dTable = $('#ranking').dataTable( {
"bProcessing": true,
"bServerSide": true,
"aaSorting": [[ 2, "desc" ]],
"aLengthMenu": [
[10, 25, 50, 100, -1],
[10, 25, 50, 100, 'All']
],
"iDisplayLength" : -1,
"sPaginationType": "full_numbers",
"sAjaxSource": "include/server_processing_manager.php"
} );
} );
the server_processing_php is
$aColumns = array( 'hourly_avg');
the rest is default. All files are included. Yet the column has negative decimal numbers
I setup a naked page with one column and did a setup of the plugin.
var dTable = $('#ranking').dataTable( {
"bProcessing": true,
"bServerSide": true,
"aaSorting": [[ 2, "desc" ]],
"aLengthMenu": [
[10, 25, 50, 100, -1],
[10, 25, 50, 100, 'All']
],
"iDisplayLength" : -1,
"sPaginationType": "full_numbers",
"sAjaxSource": "include/server_processing_manager.php"
} );
} );
the server_processing_php is
$aColumns = array( 'hourly_avg');
the rest is default. All files are included. Yet the column has negative decimal numbers