Replicate Index Column functionality using legacy API
Replicate Index Column functionality using legacy API
Focker513
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
This discussion has been closed.
Answers
The legacy version is available in git. However, it goes without saying that 1.9 is no longer supported.
Allan
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!
The
draw
event was also triggered by 1.9, but it wasn't properly tested. Events were introduced properly in 1.10.Allan
Thanks again!