Query returns rows, editor shows "No data available in table"
Query returns rows, editor shows "No data available in table"
bobwhitley3
Posts: 3Questions: 1Answers: 0
I am doing my first implementation of a Datatables Editor and have run into a puzzling problem.
I perform a query with Editor object with C# and see that the database returns a few records. When this result is passed back to the datatable, though, it displays "No data available in table."
Can you see where I'm going wrong?
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Chrome shows me that the records are being sent back, too:
That is odd. Could you run the debugger on the page and let me know what the debug code is please?
Allan
I figured it out. I had sAjaxDataProp set to '' - so the Editor ignored the incoming data. When I removed that property everything worked the way I expected it to.