How can I use the plugin "fnFindCellRowIndexes" in the version 1.10.6?

How can I use the plugin "fnFindCellRowIndexes" in the version 1.10.6?

Mango LeeMango Lee Posts: 1Questions: 1Answers: 0

I used the datatables version 1.10.6, and I initialize the datatable as follow:
var table = $('#tableid').DataTable();

And I try to add the "fnFindCellRowIndexes" plugin, but I got the error message that "undefined is not a function".
How can I use this plugin base on the 1.10.6 datatables version?

Answers

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin

    I would suggest that you will be better using the function option of rows()'s row-selector option.

    Specifically have a look here.

    If you wanted to use the legacy plug-in you need to use $().dataTable() to construct the table, but as I say, I would suggest using the new API if you can.

    Allan

This discussion has been closed.