Can I create datatables without thead tag
Can I create datatables without thead tag
woomzone
Posts: 1Questions: 1Answers: 0
Can I create datatables without thead tag. so I want to declare only the table tag and create the columns using the columns option in datatables. Is this possible?
This question has an accepted answers - jump to answer
Answers
Datatalbes does require a
thead
as described in the HTML docs. Instead of creating athead
in the DOM you can usecolumns.title
to have Datatables create thethead
.Kevin