Show 10, 25 entries not working in IE 8.

Show 10, 25 entries not working in IE 8.

sangvannsangvann Posts: 1Questions: 0Answers: 0
edited April 2014 in DataTables 1.9
Hi,

Following is the code to create my table. I have initialized iDisplayLength to 200. When I click on Show 10, it does nothing, still displays the 200 records. This is happening in IE8, but it works in Chrome. Please advise on how to get this to work on IE8.

(function($) {

var myDataTableDefaults = {
"sPaginationType": "full_numbers",
"iDisplayLength": 200,
"aLengthMenu": [[10, 25, 50, 100, 200, -1], [10, 25, 50, 100, 200, "All"]],
"oLanguage": {
"sSearch": "Filter:"
},
"fnInitComplete": function(oSettings, json) {
$(".loadingPageDomAnimation").hide();
$('.dataTable').fadeIn('slow');
},
"sEmptyTable": "No record found"
};

$.fn.myDataTable = function (options) {
options = $.extendmyDataTableDefaults, options);
return this.dataTable(options);
};
})(jQuery);

Thank you.

Replies

  • allanallan Posts: 55,045Questions: 1Answers: 8,638 Site admin
    Link to a test case, as clearly stated in the forum rules please.

    Allan
This discussion has been closed.