What is the server to return for a delete operation
What is the server to return for a delete operation
rdigiorgio
Posts: 29Questions: 11Answers: 0
I have added the option to delete a row and the ro does get deleted but the form stays on the UI.
1) What is the server to return for a successful remove
2) If there is more to it other than returning the correct value above, how do I tear down the form?
` buttons:
{extend: "create", editor: editor},
{extend: "remove", editor: editor}
]`
[
I returned a 200 response
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Ok, and what system error occurred? Click on "More information" please and follow the instructions.
And the expected behavior is: Once you click "Delete" the record should be deleted and the popup should disappear. It doesn't disappear because of the error.
The Editor Client/Server Data doc explains what is expected for each Editor operation.
Kevin
Thanks, I had a hard time finding that it is exactly what I was looking for and it supports error messages.