Page Ination in my data tabel is'n work
Page Ination in my data tabel is'n work
anw
Posts: 1Questions: 1Answers: 0
please correct my code.
why my datatables does'nt work well.
i'm load my datatables in model bootsrapt
my datas loaded from my controller in laravel. i rendered html code from controller. and passing to data tables
thanks in advance
Answers
I may be missing it but I don't see where/when you are initializing Datatables. My guess is you are initializing Datatables before populating the HTML table in the last screenshot. Do you see something like this at the bottom of the table
Showing 0 to 0 of 0 entries
with 0 entries? If so then Datatables doesn't know anything about the tale data you added. You can either init Datatables after populating the table or use one of the options in this FAQ.If this doesn't help then a link to your page or a test case replicating the issue would be best. This way we can help debug the problem.
https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case
Kevin