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
preSubmit's argument names art typically e, data, action. I would suggest the naming shown in your post above is confusing.
preSubmit
e, data, action
The data is in the second parameter passed in.
Allan
It looks like you're new here. If you want to get involved, click one of these buttons!
Answers
preSubmit
's argument names art typicallye, data, action
. I would suggest the naming shown in your post above is confusing.The data is in the second parameter passed in.
Allan