sInfo property of the datatable does not seem in the left-bottom of my table.How to show it ?
sInfo property of the datatable does not seem in the left-bottom of my table.How to show it ?
harun.acar
Posts: 2Questions: 2Answers: 0
Hello, Earlier my datatable was showing sInfo in the left-bottom of the table. But I passed to server-side pagination and now it does not apper . How to show this information ? Here are my code and resulting table in links Thanks for any help.
var table = $('#' + dataTableId).DataTable({
"bStateSave": true, // save datatable state(pagination, sort, etc) in cookie.
"lengthMenu": [
[10, 25, 50, -1],
[10, 25, 50, "Hepsi"] // change per page values here
],
"fnRowCallback": function (nRow, aData, iDisplayIndex, iDisplayIndexFull) {
$(nRow).children().each(function(index, td,tr) {
if ($(td).html() === "Alarm") {
$(nRow).children().each(function(){$(this).css("color", "red")});
} else if ($(td).html() === "Normal") {
$(nRow).children().each(function () { $(this).css("color", "green") });
}
});
return nRow;
},
"order": [
[5, "desc"]
],
"bInfo": false,
"bLengthChange": true,
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/Shipment/EventLogDataTable?Tag2Sense=" + Tag2Sense + "&DateFrom=" + DateFrom + "&DateTo=" + DateTo + "&LogType=" + LogType + "&LogStatus=" + LogStatus,
//enables tooltip on left top of the table
This discussion has been closed.