Matrix display - Unknown parameter '0' for row 0, column 0 error -- TN #4
Matrix display - Unknown parameter '0' for row 0, column 0 error -- TN #4
hnhegde
Posts: 68Questions: 17Answers: 0
Hello,
I am trying to display data in a matrix format using DataTables. I went through TN #4 and I believe I have covered all the aspects mentioned there in, especially the note pertaining to:
# cells = # rows * # columns
However, I am still getting this error. Have uploaded my debug trace at: http://debug.datatables.net/osevaz
Would appreciate inputs from seasoned hands,
Regards,
Harsha
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi Harsha,
I presume that the error is happening for the
#returnsDueByStateTable
table? The reason for that is that the data being returned from the server for each row is in the format:But you haven't told DataTables which property should be used for each column. You would need to have something like:
See this section of the manual for more details.
Allan
Thanks Allan, that worked.