which field is edited

which field is edited

meekaakumeekaaku Posts: 11Questions: 4Answers: 0

my table consists of fields which has data from multiple db tables (combined via joins). I am not using the php backend library, instead relying on the api data sent.

when a cell is edited inline/bubble, is there a way to know exactly which field was edited?

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 63,696Questions: 1Answers: 10,500 Site admin

    You can use the modifier() method to get the selector (/modifier) that was used to trigger the editing. For example if you called inline() with editor.inline( this ); - modifier() would return whatever this was (typically a cell node).

    Allan

  • meekaakumeekaaku Posts: 11Questions: 4Answers: 0

    allan,
    thanks. how do i add that info to the json payload that is sent to the server?

  • allanallan Posts: 63,696Questions: 1Answers: 10,500 Site admin
    Answer ✓

    You can use the preSubmit event to add additional information that is to be sent to the server.

    Allan

  • meekaakumeekaaku Posts: 11Questions: 4Answers: 0

    thanks

This discussion has been closed.