DataTables warning: table id={id} - Requested unknown parameter '{parameter}' for row {row-index}, c

DataTables warning: table id={id} - Requested unknown parameter '{parameter}' for row {row-index}, c

farshidaziifarshidazii Posts: 9Questions: 3Answers: 0
edited August 2019 in Free community support

I have the error mentioned above. I already asked my question in the link below because I do not want to repeat it because it is long.
Please see the link below and guide me
https://stackoverflow.com/questions/57738162/datatables-warning-table-id-table-1- request ed-unknown-parameter-categorid

Replies

  • kthorngrenkthorngren Posts: 21,159Questions: 26Answers: 4,921

    Looks like you are using an older version of Datatables that I'm not terribly familiar with. However it looks like the problem has to do with the case of you columns definition:

            "aoColumns": [
                { "mDataProp": "CategoryId" },
                { "mDataProp": "SpecificationId"},
                { "mDataProp": "Caption" },
                { "mDataProp": "IsDeleted" }
            ],
    

    The JSON response has objects like categoryId but you are defining CategoryId. They should match.

    Kevin

  • farshidaziifarshidazii Posts: 9Questions: 3Answers: 0

    Thanks it's resolved

This discussion has been closed.