Change datatable data based on selected piece of pie highcharts
Change datatable data based on selected piece of pie highcharts
awalmlna
Posts: 7Questions: 3Answers: 0
Hi, im looking through everywhere on the internet but seem couldn't find a way to change datatable data based on selected piece of pie highcharts.. is it possible? is there any example of it?
This discussion has been closed.
Answers
Yep, we have an example for that - https://datatables.net/examples/api/highcharts.html
Hope that helps,
Colin
Also see blog post: https://datatables.net/blog/2020-10-01
noo.. that's not what I meant.
I have succesfully update the highcharts everytime the datatable change, but i still couldn't find a way to change the data in the datatable when i selected onClick a piece of pie highcharts by turning on allowPointSelect: true
Are you saying you want to use
search()
orcolumn().search()
to filter the Datatble when the data point is clicked? If so use the appropriate API in your event handler. If you still need help please provide a test case showing what you have and explaining exactly the behavior you want.https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin