Are `formOptions.inline.submit` working correctly?
Are `formOptions.inline.submit` working correctly?
Inside my Editor creation I have:
formOptions: {
inline: {
submit: 'all'
}
}
And when logging the data
to the console in my ajax function
:
function (method, url, data, success, error) {
var self = this;
console.log(data);
I am only receiving the changed values. I'm using DataTables 1.10.16
and Editor 1.6.5
.
This question has accepted answers - jump to:
This discussion has been closed.
Answers
It seems to be working okay in this example.
Is it possible you are overriding the
submit
option in yourinline()
call? That will take priority over the initialisation option.Allan
Not touching
submit
orinline
outside settingformOptions
. Also, that example seems to be usingallIfChanged
and notall
.I've just tried it locally and it appears to work okay:
Could you give me a link to your page please?
Thanks,
Allan
It's a private page, is there a way I can securely send you a login?
Absolutely - click my forum name above and then click the "Send message" button.
Allan
Thank you Allan, I have sent you a private message.
Turns out the
formOptions
were not being set in the right place, all is well!