Editor: Editing a single row updates multiple rows on the server, reload multiple rows

Editor: Editing a single row updates multiple rows on the server, reload multiple rows

daveihdaveih Posts: 10Questions: 4Answers: 1

Hi,
I need to know whether this is possible:

I have data in my Editor, and when a user updates a specific column (field), it causes updates to multiple rows and fields on the server. The server should then return an array of the new data for the rows that were updated.

However, at the moment, my understanding is that the Editor expects data for only 1 row back. So I have an issue, where it just replaces the 1 row that was initially updated with the first returned data object, even though an array is returned. Is it possible for the Editor to handle multiple rows returned after single row update and updating them locally based on their ID ? Or do I just have to reload the entire table after each edit ?

Hope that makes sense.

This question has an accepted answers - jump to answer

Answers

  • daveihdaveih Posts: 10Questions: 4Answers: 1
    Answer ✓

    UPDATE:
    Sorry - the Editor works as expected after setting the idSrc option.

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin

    Thanks for the update - good to hear you have it working.

    Allan

This discussion has been closed.