Are `formOptions.inline.submit` working correctly?

Are `formOptions.inline.submit` working correctly?

terrasvcterrasvc Posts: 6Questions: 2Answers: 0

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.

Answers

  • allanallan Posts: 42,174Questions: 1Answers: 5,358 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: 6Questions: 2Answers: 0
    edited September 14

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

  • allanallan Posts: 42,174Questions: 1Answers: 5,358 Site admin

    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: 6Questions: 2Answers: 0

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

  • allanallan Posts: 42,174Questions: 1Answers: 5,358 Site admin

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

    Allan

Sign In or Register to comment.