Show all rows

Show all rows

bddpbddp Posts: 2Questions: 0Answers: 0
edited July 2010 in Bug reports
Hi, I think that I found a bug. I use DataTables with AJAX and I would like add "Show all rows" option. I use oLanguage.sLengthMenu to set option "all" with value -1. I do everythink like there http://www.datatables.net/usage/i18n#oLanguage.sLengthMenu But after that if I choose "all" option, DataTables show me only 49 (of 202) rows, and if I use this option one more time, DataTables show me 201 (of 202) rows.

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Can you link to an example showing this problem please?

    Allan
  • bddpbddp Posts: 2Questions: 0Answers: 0
    Thank you for your reply. There was a problem with fnDataTablesPipeline plugin. Everything works fine now, except for pagination cache ;) I saw that somebody has got the same problem http://datatables.net/forums/comments.php?DiscussionID=1794 I can't link you to an example that shows the problem, because the application is running locally and I don't have the permission to publish it. If you wish, I can send you the applications requests and the responses.

    Greetings
    Michal
  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    Oh I see - I'm don't really consider the show all option when writing fnDataTablesPipeline - so it probably needs a catch for that. The condition for "bNeedServer = true;" should probably check what _iDisplayStart is as well - if -1 the load all.

    Allan
This discussion has been closed.