Documentation incosnsistency in row().data( d )

Documentation incosnsistency in row().data( d )

Chris HopkinsChris Hopkins Posts: 9Questions: 3Answers: 0

https://datatables.net/reference/api/row().data() states that when you pass data into the data function for a row it should return an API instance, in my code its returning the data of the row whatever you do. (using 1.10.19 & 1.10.11)

Would be good to update the docs or fix if its actually intended to work as the docs say.

Answers

  • Chris HopkinsChris Hopkins Posts: 9Questions: 3Answers: 0

    Ah ignore me - i had my row selector incorrect returning zero rows which i guess messed up the data() call. Works as stated when you call it on rows that exist.

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin

    Thanks for posting back - good to hear that it is indeed working :).

    Allan

This discussion has been closed.