What is the server to return for a delete operation

What is the server to return for a delete operation

jimschmidtjimschmidt 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: 2,801Questions: 85Answers: 406

    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: 20,145Questions: 26Answers: 4,736
    Answer ✓

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

    Kevin

  • jimschmidtjimschmidt 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.