What is the server to return for a delete operation

What is the server to return for a delete operation

rdigiorgiordigiorgio 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

Answers

  • rf1234rf1234 Posts: 3,021Questions: 88Answers: 421

    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.

  • kthorngrenkthorngren Posts: 21,445Questions: 26Answers: 4,974
    Answer ✓

    The Editor Client/Server Data doc explains what is expected for each Editor operation.

    Kevin

  • rdigiorgiordigiorgio Posts: 29Questions: 11Answers: 0

    Thanks, I had a hard time finding that it is exactly what I was looking for and it supports error messages.

This discussion has been closed.