iDisplayStart not work in datatable 1.9.2

iDisplayStart not work in datatable 1.9.2

roychenroychen Posts: 5Questions: 0Answers: 0
edited January 2013 in DataTables 1.9
Hi All,
I have just found out the iDisplayStart not work in datatable 1.9.2, does anyone konw why and how to fix it, thanks

here is my code:

oTable = $('#tableDocument').dataTable({
"fnRowCallback": function( nRow, aData, iDisplayIndex ) {
if (iDisplayIndex == 10) {
$('td', nRow).attr('nowrap','nowrap');
}
return nRow;
},
"bJQueryUI": false,
"sPaginationType": "full_numbers",
"iDisplayLength": 10,
"aaSorting": [],
"bLengthChange": true,
"iDisplayStart":10,
"aoColumns": [
{"bVisible": false},
{"bSortable":false,"sWidth":"3%"},
{"sClass": "center","bSortable":false,"sWidth":"3%"},
null,
{"sWidth": "10%"},
null,
{"sType": "date"},
null,
null,
{"sWidth":"60px"},
null,
{ "bSortable":false, "sWidth":"110px"}
],
"oLanguage": {
"sLengthMenu": "Display _MENU_ records per page",
"sZeroRecords": "No matching results",
"sSearch":"Find",
"sInfo": "Showing _START_ to _END_ of _TOTAL_ records",
"sInfoEmpty": "Showing 0 to 0 of 0 records",
"sInfoFiltered": "(Total _MAX_ records)",
"oPaginate": {
"sFirst": "First",
"sLast": "Last",
"sPrevious": "Previous",
"sNext": "Next"
}
},
"fnDrawCallback":fnOpenClose
});
});

Replies

  • roychenroychen Posts: 5Questions: 0Answers: 0
    new update, just found out is this line makes the problem:
    oTable.fnFilter("test");

    anybody can tell me why? and how to fixed it
  • allanallan Posts: 63,389Questions: 1Answers: 10,450 Site admin
    Please link to a test case showing the problem - http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read

    Allan
This discussion has been closed.