我通过在 ajax jquery 和 php 中使用数据表插件创建了一个表。有一列状态显示发布,未发布....我想显示记录总数,已发布总数和未发布总数...我可以这样做吗?
这是我尝试过的
var oTable = $('#listings_row').dataTable( {
"iDisplayLength": 25,
"iDisplayStart": 0,
"bProcessing": true,
"bServerSide": true,
"sPaginationType": "full_numbers",
"sAjaxSource": "ajax_files/server_processing_rentals.php",
"fnRowCallback": function( nRow, aData, iDisplayIndex, iDisplayIndexFull ) { return nRow;
}
} );