how to retrieve filtered data to use it for chartJs for example
how to retrieve filtered data to use it for chartJs for example
eway
Posts: 3Questions: 2Answers: 0
by recovering in the following way I recover all the lines while I only want those which result from searches (filters)
dtt.rows().every( function () {
var d = this.data();
} );
thank you
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @eway,
You can just use
rows().data()
and passrows()
aselector-modifier
to get it to return only the rows that are returned from the search. Something liketable.rows({"search":"applied"}).data()
.Hope this helps,
Sandy