Are `formOptions.inline.submit` working correctly?

Are `formOptions.inline.submit` working correctly?

terrasvcterrasvc Posts: 8Questions: 2Answers: 1

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:

Answers

  • allanallan Posts: 43,132Questions: 1Answers: 5,608 Site admin

    It seems to be working okay in this example.

    Is it possible you are overriding the submit option in your inline() call? That will take priority over the initialisation option.

    Allan

  • terrasvcterrasvc Posts: 8Questions: 2Answers: 1
    edited September 14

    Not touching submit or inline outside setting formOptions. Also, that example seems to be using allIfChanged and not all.

  • allanallan Posts: 43,132Questions: 1Answers: 5,608 Site admin
    Answer ✓

    I've just tried it locally and it appears to work okay:

    Could you give me a link to your page please?

    Thanks,
    Allan

  • terrasvcterrasvc Posts: 8Questions: 2Answers: 1

    It's a private page, is there a way I can securely send you a login?

  • allanallan Posts: 43,132Questions: 1Answers: 5,608 Site admin

    Absolutely - click my forum name above and then click the "Send message" button.

    Allan

  • terrasvcterrasvc Posts: 8Questions: 2Answers: 1

    Thank you Allan, I have sent you a private message.

  • terrasvcterrasvc Posts: 8Questions: 2Answers: 1
    Answer ✓

    Turns out the formOptions were not being set in the right place, all is well!

Sign In or Register to comment.