What is the server to return for a delete operation

What is the server to return for a delete operation

rdigiorgiordigiorgio Posts: 20Questions: 9Answers: 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: 1,770Questions: 51Answers: 260

    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: 10,720Questions: 25Answers: 2,449
    Answer ✓

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

    Kevin

  • rdigiorgiordigiorgio Posts: 20Questions: 9Answers: 0

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

Sign In or Register to comment.