Selection not firing with dataTables and inline data

Selection not firing with dataTables and inline data

jouvenjouven Posts: 22Questions: 1Answers: 0

http://live.datatables.net/zifebimu/1/edit

If I use an ajax source it works. Shouldn't it work like this too? or I'm missing something?

Replies

  • allanallan Posts: 63,761Questions: 1Answers: 10,510 Site admin

    You example appears to work for me - except the fnSelect option which should never work.

    Worth noting that there is no fnSelect callback in the DataTables configuration options. If you want to know when a row selection takes place, use the select event.

    Allan

  • jouvenjouven Posts: 22Questions: 1Answers: 0
    edited December 2015

    Apologies, I forgot I'm wrapping the dataTable initialization so I can have the select event option there, because there is no option in the dataTables initializing options and you have to do the "on function" call after. The problem is in my wrapping logic.

This discussion has been closed.