TableTools selection with deferRender (DT 1.10)

TableTools selection with deferRender (DT 1.10)

RagingTrollRagingTroll Posts: 34Questions: 3Answers: 0
edited May 2014 in Bug reports

An error occurs when:

  1. select one item on the first page
  2. switch to page 3
  3. shift select random item on current page (page 3)
  4. click on a random item on current page without shift

or

  1. click on select all button
  2. click on random row on the first page

Example: http://live.datatables.net/delaroq/1/

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    edited May 2014

    Yup - the problem is that the rows aren't being created, but the selector being used requires the nodes. I'll get that sorted as soon as I can (little bit overwhelmed with everything at the moment, so its going to be a little while).

    Thanks for letting me know about it!

    Allan

  • robbinvandammerobbinvandamme Posts: 2Questions: 0Answers: 0
    edited June 2014

    Any progress on this issue?

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin

    Not had a chance to work on it yet. I will later this week.

    Allan

  • LodeLode Posts: 1Questions: 0Answers: 0

    Nice. Thanks a lot. I am experiencing the same problem.

  • DaimianDaimian Posts: 62Questions: 1Answers: 15

    I have added a pull request that Allan accepted to fix this bug.

    It is now included in the TableTools nightly build.

  • robbinvandammerobbinvandamme Posts: 2Questions: 0Answers: 0
    edited July 2014

    Still have a problem when I "Select all" and then try to "Deselect all".

    Uncaught TypeError: Cannot read property 'nodeName' of null dataTables.tableTools.nightly.js:1715

    Also happens when I manualy select rows spread over multiple pages and then hit "Deselect all"

    This only when DeferRender is set to True

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin

    @robbinvandamme - The nightly hasn't been rebuilt yet - I'm still working on fixing that after the recent server upgrade.

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin

    @all - I've just committed a fix to address the issue.

    The updated script is available on github and I'll be updating the nightly version on this server soon.

    Allan

This discussion has been closed.