Send full row data
Send full row data
in AutoFill
I am using a complex serverside script to retrieve data for my table. I would like to use the AutoFill Extention, but I cannot find any documentation on how to make it submit all the data for the row. Right now it only submits the column name and values.
It makes it very difficult to send a response back to the server as now I need to run the script to rebuild all the data it is expecting to get back from the post. I know with the editor, there is this line:
editor.inline( this, { submit: 'allIfChanged'} );
But Autofill ignore it, and I am not sure how to make autofill behave the same way.
This discussion has been closed.
Answers
AutoFill doesn't use inline editing, it uses
bubble()internally. To have it submit all fields you need to use theformOptions.bubbleinitialisation option in Editor and set itssubmitparameter to beallIfChanged.Allan