It would be great if someone helped me in this matter.
I'm just trying to get a filtered result set from a datatable.
Below is my code.
var filtered_row_data = $('#example').DataTable().column(1).search('186').data().unique().sort(); console.log(JSON.stringify(filtered_row_data));
It simply returns all rows instead of the filtered values.
I am using the latest stable version of Datatable.
Can anyone help with this?
source share