DataTables gives error when table is empty
DataTables gives error when table is empty
peterchchu
Posts: 3Questions: 0Answers: 0
Using Datatables 1.9.4 for a Rails 3.2.6 Application.
Datatable is great but there is one slight problem. I had noticed that whenever my table has no data, it will give out the following errors:
[quote]DataTables warning (table id = 'resource-index-listing-table'): Requested unknown parameter '1' from the data source for row 0[/quote].
Can someone please help.
Datatable is great but there is one slight problem. I had noticed that whenever my table has no data, it will give out the following errors:
[quote]DataTables warning (table id = 'resource-index-listing-table'): Requested unknown parameter '1' from the data source for row 0[/quote].
Can someone please help.
This discussion has been closed.
Replies
Allan
Allan
asoruy
Please let me know what is the reason for the alert?
Allan