Requested unknown parameter '0' for row 0, column 0 - SOLVED

Requested unknown parameter '0' for row 0, column 0 - SOLVED

mountainclimbermountainclimber Posts: 2Questions: 0Answers: 0
edited August 8 in Free community support

Just wanted to help anyone else who encounters this error.
1) The issue lies more than likely with the columns data section.
2) Either you did not define the columns data section or you did something wrong there.
3) In my case, I had improper case. I typed 'data' as uppercase instead of lowercase. It is case-sensitive.

        $('#example').DataTable( {
            data: data,
            columns: [
                { data: 'name' },
                { data: 'position' },
                { data: 'salary' },
                { data: 'office' }
            ]
        } );

So instead of 'data' as above, I had 'DATA'

Replies

  • allanallan Posts: 63,441Questions: 1Answers: 10,459 Site admin

    Thank you for posting this. Hopefully others will find it helpful!

    Allan

Sign In or Register to comment.