Send full row data

Send full row data

minifiredragonminifiredragon Posts: 55Questions: 11Answers: 2

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

  • allanallan Posts: 61,972Questions: 1Answers: 10,160 Site admin

    AutoFill doesn't use inline editing, it uses bubble() internally. To have it submit all fields you need to use the formOptions.bubble initialisation option in Editor and set its submit parameter to be allIfChanged.

    Allan

This discussion has been closed.