submitSuccess data not edited row
submitSuccess data not edited row

Can some clarify I am right in assuming that data in submitSuccess data should be the edited row. I tested with multiple rows in the json but data is always the last one in the collection not the edited one.
itemTable.on('click', 'tbody td:not(:first-child)', function (e) {
// let rowData = itemTable.row($(this).closest('tr')).data();
itemEditor.inline(this, {
onBlur: 'submit'
});
itemEditor.on('submitSuccess', function (e, json, data, action) {
debugger;`
Thanks
Edited by Allan - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
Answers
using postSubmit works. However still puzzled why data is not the edited row ?
The
json
parameter is the information that is sent back from the server.data
is actually justjson.data
for the last row edited. It is really an artifact of when Editor only supported single row editing. I'll make a change to the docs to reflect that.Allan