get current data on event initEdit

get current data on event initEdit

pmengopmengo Posts: 74Questions: 37Answers: 2

how can i get data on event initEdit as in preSubmit?

i use editor.on('preSubmit', function (e, json, data) {}

but how to get the row data with initEdit as the json variable in preSubmit?

This question has an accepted answers - jump to answer

Answers

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

    preSubmit's argument names art typically e, data, action. I would suggest the naming shown in your post above is confusing.

    The data is in the second parameter passed in.

    Allan

This discussion has been closed.