Send full row data
Send full row data
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.
Answers
AutoFill doesn't use inline editing, it uses
bubble()
internally. To have it submit all fields you need to use theformOptions.bubble
initialisation option in Editor and set itssubmit
parameter to beallIfChanged
.Allan