How to change the setting of number of rows?

How to change the setting of number of rows?

shinokadashinokada Posts: 4Questions: 0Answers: 0
edited November 2009 in General
It must be somewhere in the documentation. But I could not find it. Sorry for my laziness.

At the moment as a default, the number of rows are set as "Show 10 entries".

I'd like to change to 30 or so.

Where can I change the setting?

Also I want to change to 30, 50 , 70, 100 etc for the dropdown.

Could anyone tell me where I can change these setting as well?

Thanks in advance.

Replies

  • nm_alexnm_alex Posts: 26Questions: 0Answers: 0
    It's the option iDisplayLength, cf. http://datatables.net/usage/options

    hth, Alex
  • shinokadashinokada Posts: 4Questions: 0Answers: 0
    Thank you.

    Is there any options for changing "Show ... entries", 10. 25, 50 and 100 to different numbers?
  • izzy6150izzy6150 Posts: 49Questions: 0Answers: 0
    Hi shinokada,

    This i dont believe is possible with the current release of dataTables however there was a post with a suggestion on this. Take a look here
    http://datatables.net/forums/comments.php?DiscussionID=809&page=1#Item_4

    This might give you what you want.

    Regards,
    Izzy
  • allanallan Posts: 63,498Questions: 1Answers: 10,470 Site admin
    Hi guys,

    Actually this is possible at the moment, and there is an example of how to do it here: http://datatables.net/usage/i18n#oLanguage.sLengthMenu (click on the 'Show details' link to see the example).

    Regards,
    Allan
This discussion has been closed.