How to fire a datatable event manually?

How to fire a datatable event manually?

gauravmakgauravmak Posts: 22Questions: 4Answers: 0

I want to fire draw event manually after datatable is already initialized. How can that be achieved?

Answers

  • allanallan Posts: 63,812Questions: 1Answers: 10,516 Site admin

    You need to actually draw the table (draw()). DataTables doesn't present an API that can be used to manually trigger events (since passing all the required parameters would be difficult to do without a lot of code bloat).

    Allan

This discussion has been closed.