Missing column names
Missing column names
Hi, if i try to implement following example: https://datatables.net/reference/option/data
I do not get any column names displayed.
Please have a look at my html and js code: http://live.datatables.net/fisucequ/1/edit?html,css,js,output
I also tried to replace the {"data":"name"}
for {"title":"name"}
, the result of this is i get the column name displayed but no data and this error (on my local box, not in DataTables live):
"DataTables warning: table id=example - Requested unknown parameter '0' for row 0. For more information about this error, please see http://datatables.net/tn/4"
Here is the code for the "title" mix version:
http://live.datatables.net/tafurixa/1/edit?html,css,js,output
I tried, dataTable aswell as DataTable, I also tried this $(document).ready(function()[...]
option with no success.
I do want to implement it this way, not with other sourcing methods, as my source data is in exactly this format.
Thank you for any suggestions and help and of course for your time.
This question has an accepted answers - jump to answer
Answers
title and data config options are not mutually exclusive.
http://live.datatables.net/fisucequ/2/edit
Thank you.