Columns.data Issue: Setting cell values more than once

Columns.data Issue: Setting cell values more than once

JamaurJamaur Posts: 87Questions: 10Answers: 0

It seems columns.data is setting each cell in a column more than once.
I hope this isn't expected behavior as I expect each cell should be set only once.

A test case showing this issue is shown in the link below: http://live.datatables.net/sosufero/1/edit

The result is shown in the console not in the output.
As you can see in the example above, the cell value is being logged more than once in the set case.

Replies

  • JamaurJamaur Posts: 87Questions: 10Answers: 0
    edited February 2015

    Any help please?

  • JamaurJamaur Posts: 87Questions: 10Answers: 0

    ...

  • JamaurJamaur Posts: 87Questions: 10Answers: 0

    You can compare the above case (1.10.8) with the one below (1.10.2) http://live.datatables.net/sosufero/3/edit

    As you can see the results in the console is different.

  • allanallan Posts: 63,704Questions: 1Answers: 10,502 Site admin
    edited May 2015

    That would appear to be a bug. I will look into it and post back here when I have some findings.

    Allan

  • JamaurJamaur Posts: 87Questions: 10Answers: 0
    edited May 2015

    Thanks. Appreciate it.

  • JamaurJamaur Posts: 87Questions: 10Answers: 0

    Hi,

    Did you find anything about the above problem?

  • allanallan Posts: 63,704Questions: 1Answers: 10,502 Site admin

    Sorry - haven't had a chance to do so yet.

    Allan

  • JamaurJamaur Posts: 87Questions: 10Answers: 0

    Hi,

    Did you have time to look into this problem? This issue might cause performance problems to other datatable users. Ex: 10,000 Data Cell being processed x2 (20,000)

    Thanks

  • allanallan Posts: 63,704Questions: 1Answers: 10,502 Site admin

    No sorry. I'm absolutely up to my eye balls with support requests and trying to keep DataTables moving forwards at the moment. I hope to have a look soon.

    Allan

  • allanallan Posts: 63,704Questions: 1Answers: 10,502 Site admin

    Well it looks a long time, but I've finally gotten to it :-). Sorry for the massive delay.

    This has now been fixed. It was basically a case of an old hack resulting in the duplicate calls when a DOM node is given. The fix will be in 1.10.9.

    Regards,
    Allan

  • JamaurJamaur Posts: 87Questions: 10Answers: 0

    Thanks.

This discussion has been closed.