Data method has hash values (key,value pair)

Data method has hash values (key,value pair)

Neha PeerNeha Peer Posts: 3Questions: 2Answers: 0

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

  • kthorngrenkthorngren Posts: 13,779Questions: 25Answers: 3,242

    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

Sign In or Register to comment.