Data method has hash values (key,value pair)
Data method has hash values (key,value pair)
Neha Peer
Posts: 3Questions: 2Answers: 0
in DataTables
Hello,
ajax-datatables-rails gem has method called data in datatable file.I have hash values ( key,value) so while iterating it throws below warning -
DataTables warning: table id=user-datatable - Requested unknown parameter 'return_date' for row 0, column 0. For more information about this error, please see http://datatables.net/tn/4
Need a help.
Thank you,
Neha
Replies
The place to start is with the troubleshooting steps at the link provided:
http://datatables.net/tn/4
Start there and let us know what you find. Sounds like the data structure returned is not the same as what is configured in Datatables. If you still need help please post an example of the response collected using the browser's network inspector. Also post your Datatables init code.
Kevin