Requested Unknown Parameter issue with demo
Requested Unknown Parameter issue with demo
https://live.datatables.net/jehepoda/1/edit
The above code generates a 'Requested unknown parameter 'RequiredDate' for row 0, column 0.
I just can't see what I'm missing here, so any help much appreciated.
Thanks,
Jon
This question has an accepted answers - jump to answer
Answers
Hi Jon,
You are passing in a string to
data, so it doesn't have objects / properties, etc.Making it actually an object (remove the
'), and then passing in the array of data todataallows it to work as expected: https://live.datatables.net/jehepoda/2/edit .Note in particular that while
ajaxwill look for adataproperty in the returned JSON, thedataoption needs the array of data given to it.Allan
Sigh... Thank you very much, I knew it would be something very silly I was doing/missing.