Search field and paging does not work
Search field and paging does not work
Valentin_Gasenko
Posts: 2Questions: 1Answers: 0
in General
Hi there,
I have a table, I'll try to set the DataTable function to it.
But the search functionality doesn't retrieve through the data. Also, paging does not work.
Screenshot at the attach.
I use the most common code, just:
$('#activitiesTable').DataTable();
Help, please, what am I doing wrong?
Answers
We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
Are you adding rows after Datatables initialization? If so see this FAQ.
Kevin
Kevin, thank you for your answer!
No, firstly I add rows into my table, and after that I call $('#activitiesTable').DataTable();