How To Display Algolia search-results into DataTables

How To Display Algolia search-results into DataTables

iFelixiFelix Posts: 1Questions: 1Answers: 0

Hello,
I'm already using dataTables in my symfony project to display sql db content and it works amazingly well.
I have a search funtion too and I'd like to display the result in a table as well. I'm using server-side search to get the json response from algolia into a variable and I've tried to pass it into the js script of datatables as shown in the ajax exemples but no results.. I know the script in the docs are looking for a .txt file
Have anyone else tried this? Can someone show me an exemple?

Thanks a lot!

Answers

This discussion has been closed.