sLoadingRecords text doesn't work/shows sZeroRecords text instead
sLoadingRecords text doesn't work/shows sZeroRecords text instead
boknoytm
Posts: 2Questions: 0Answers: 0
sLoadingRecords text doesn't work/shows sZeroRecords text instead.
Please help.
[code]
oTable = $('#myDataTable').dataTable({
"bProcessing": true,
"sAjaxSource": "Home/GetCustomerByTerritory",
"bJQueryUI": true,
"sAjaxDataProp": "",
"bAutoWidth": false,
"bDestroy": true,
"aaSorting": [[1, "asc"]],
"sPaginationType": "full_numbers",
"oLanguage": {
"sLoadingRecords": "Please wait - loading...",
"sZeroRecords": "No Records Found!",
"sSearch": "Filter search result:",
"sInfoEmpty": "No entries to show"
},
// Server Parameters
"fnServerParams": function (aoData) {
.
. //snipped
.
},
"aoColumns": [
.
. //snipped
.
],
"fnFooterCallback": function (nRow, aasData, iStart, iEnd, aiDisplay) {
$(".footer").hide();
},
"fnDrawCallback": function (oSettings) {
.
. //snipped
.
});
}
});
[/code]
Please help.
[code]
oTable = $('#myDataTable').dataTable({
"bProcessing": true,
"sAjaxSource": "Home/GetCustomerByTerritory",
"bJQueryUI": true,
"sAjaxDataProp": "",
"bAutoWidth": false,
"bDestroy": true,
"aaSorting": [[1, "asc"]],
"sPaginationType": "full_numbers",
"oLanguage": {
"sLoadingRecords": "Please wait - loading...",
"sZeroRecords": "No Records Found!",
"sSearch": "Filter search result:",
"sInfoEmpty": "No entries to show"
},
// Server Parameters
"fnServerParams": function (aoData) {
.
. //snipped
.
},
"aoColumns": [
.
. //snipped
.
],
"fnFooterCallback": function (nRow, aasData, iStart, iEnd, aiDisplay) {
$(".footer").hide();
},
"fnDrawCallback": function (oSettings) {
.
. //snipped
.
});
}
});
[/code]
This discussion has been closed.
Replies