Can an element in the dom external to dataTables fire a DT event?
Can an element in the dom external to dataTables fire a DT event?

I have a chart which I am rendering above DT. I'd like the user to feel like the chart and dataTable are one. If user interacts with chart, DT should perform search/filter.
The DT is using server side processing.
Is there an example I can reference for this?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
You can use the
search()
orcolumn().search()
API's for this. In your events for the chart just use one of the search APIs along withdraw()
and Datatables will send the search request, via server side processing, to the server.Kevin