Replicate Index Column functionality using legacy API

Replicate Index Column functionality using legacy API

Focker513Focker513 Posts: 10Questions: 4Answers: 0

I found this example but I did not see an equivalent for the legacy api:
https://datatables.net/examples/api/counter_columns.html

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,733Questions: 1Answers: 10,508 Site admin

    The legacy version is available in git. However, it goes without saying that 1.9 is no longer supported.

    Allan

  • Focker513Focker513 Posts: 10Questions: 4Answers: 0

    I understand and apologize for the inconvenience. My hands are tied on the version. Just curious, the previous example was done via external event not on fndrawcallback. Is that the only solution for legacy usage? I have a sortable datatable and would like to update the column number when drag drop operations occur.

    Thanks!

  • allanallan Posts: 63,733Questions: 1Answers: 10,508 Site admin
    edited April 2015 Answer ✓

    The draw event was also triggered by 1.9, but it wasn't properly tested. Events were introduced properly in 1.10.

    Allan

  • Focker513Focker513 Posts: 10Questions: 4Answers: 0

    Thanks again!

This discussion has been closed.