heading should be displayed from ajax call
Here is an example: http://live.datatables.net/huyexejo/1/edit
It generates the column titles from the keys of the first object. Another option would be to return an additional data object that contains the heading titles. It uses columns.title to have Datatables create the thead using the titles.
columns.title
thead
Kevin
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
Here is an example:
http://live.datatables.net/huyexejo/1/edit
It generates the column titles from the keys of the first object. Another option would be to return an additional data object that contains the heading titles. It uses
columns.title
to have Datatables create thethead
using the titles.Kevin