[first time user] the datatable is not working
[first time user] the datatable is not working
rudysetiawan
Posts: 7Questions: 1Answers: 1
Dear all, I have followed the instructions/manuals I foundd out there but then unable to get this working.
Tested with datatables live, it works.
http://live.datatables.net/casenube/2/
Currently the table rows are generated via a laravel controller and pass it onto a view which has all the required js/css. (the HTML in Datatables live is what the controller in laravel produces.
What have i done wrong here?
Thank you
This question has accepted answers - jump to:
This discussion has been closed.
Answers
This looks like it works. What's the issue?
Hi Modgility is not showing via laravel framework
https://www.dropbox.com/s/t5ro0i9ic4l1kh3/datatable-notshowing-sorting-search.png?dl=0
does it matter if it's a php or html? shouldnt be right?
Below is the snippet from the view file called "datacollected.blade.php"
What does the generated HTML look like? I can't comment on the template aspect, but the basic ideal looks fine. A link to the page would be ideal.
Allan
Hi Allan,
the produced html code is as followed:
on firefox console it gives this output:
https://www.dropbox.com/s/xjbipxhdloqb7jr/datatable-issue-21july2015.png?dl=0
So sorry accidentally pressed the Yes to the "answered the question" , this is still an ongoing issue for me :)
Here is a copy and paste of your HTML table and the Javascript used: http://live.datatables.net/semujaxu/1/edit . It appears to work fine.
Can you link to the page in question so we can debug it please.
Allan
ok so oh my gosh, this is now working just because the type of the script is missing a 'text'