Editing one field - sumbiting the whole row

Editing one field - sumbiting the whole row

Ivse05Ivse05 Posts: 23Questions: 7Answers: 0

Hi everyone! When i am editing one field, I want to pass to the server the data of the whole row of the field i am currently editing. Now I'm just getting a json as a map looking like {"data" : {1:{"editedField": valueOfThefield}}} but I want there all values and id value too. Like {"data" : {1:{"id": 1, "editedField": valueOfThefield, "otherNonEditableField": value, ...}}} The whole row, despite I am editing only one field. It would be even better if I could get data like this
[{"id": 1, "editedField": valueOfThefield, "otherNonEditableField": value, ...}, {"id": 2, "editedField2": valueOfThefield2, "otherNonEditableField2": value2, ...}] Only edited row/rows. Please, help.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    Is this using Editor? If so, you can use submit: all on the form-options,

    Colin

  • Ivse05Ivse05 Posts: 23Questions: 7Answers: 0

    Yes, with editor, of course. Thank you, I have searched all day for this.

This discussion has been closed.