Row selection doesn't work form 1.10.17 when using a cell (td) as a selector

Row selection doesn't work form 1.10.17 when using a cell (td) as a selector

inakiibarrolainakiibarrola Posts: 1Questions: 1Answers: 0

Hello,

I make use of the row function by passing a td node as selector argument. It is documented to work form version 1.10.11 but it stopped working from version 1.10.17.

I think it was broken on commit d7ac06818349d4768b9cd9f8cd428b1e7aa266bc. I think that the condition specified in this line can be never met.

As the commit attempts to assure that the node still exists in the DOM maybe in this case the code should find the nearest tr parent to compare it with the nTr.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586
    Answer ✓

    Hi @inakiibarrola ,

    Yep, that was broken, but was fixed - see this here using the nightly builds.

    It hasn't been released yet, but it will be included in the next one.

    Cheers,

    Colin

  • kthorngrenkthorngren Posts: 20,275Questions: 26Answers: 4,765
    edited July 2019

    I might be missing something but it seems to work here:
    http://live.datatables.net/nemotofa/1/edit

    Please update the test case or create your own to replicate this issue. This will help the developers to look at your issue.

    Kevin

This discussion has been closed.