i have around 2000 entries

i have around 2000 entries

alexchuialexchui Posts: 2Questions: 1Answers: 0
edited July 2015 in Free community support

The table only display 1000 . How to set it to display 2000 ?

i am using datatables 1.10

This question has an accepted answers - jump to answer

Answers

  • AshbjornAshbjorn Posts: 55Questions: 2Answers: 16
    edited July 2015 Answer ✓

    Hi alexchui,

    DataTables 1.10.x has property called: lengthMenu.

    This property allows you to change and set your own range of page size values like so:

    "lengthMenu": [100, 250, 500, 1000, 2000]

    This would provide you with an option to display 2000 records on the page. However if you do not wish to use paging at all you can set the lengthChange property to false:

    "lengthChange": false

    Not entirely sure if this is what you are referring to though, let us know if you meant something else!

    Hope this helps,

  • alexchuialexchui Posts: 2Questions: 1Answers: 0
    edited July 2015

    thank you . Yes it did.

    seems my return data record was capped at 1000. Thats why .

This discussion has been closed.