Set Custom entries perpage

Set Custom entries perpage

jqnicejqnice Posts: 2Questions: 0Answers: 0
edited October 2011 in DataTables 1.8
hi all
i wanna to set entries per page dynamically
can i do it? and if i can , how to do it?
i try this :
[code]
$(document).ready(function() {
oTable = $('#example').dataTable({
"bJQueryUI": true,
"sPaginationType": "full_numbers",
"iDisplayLength": "10"
});
} );
[/code]
its working , but not good.and numbering the page with (010) for example ,so next page & end of pages not working perfect...
(very very very sorry about my Bad English :-) )

Replies

  • fbasfbas Posts: 1,094Questions: 4Answers: 0
    don't put quotes around it

    [code]"iDisplayLength": 10[/code]
  • jqnicejqnice Posts: 2Questions: 0Answers: 0
    yes , working good.
    very thank you fbas :-x
This discussion has been closed.