How do I use the Whole Row - Any Cell Activation? Receiving Multiple edit field error

How do I use the Whole Row - Any Cell Activation? Receiving Multiple edit field error

libradfordlibradford Posts: 8Questions: 1Answers: 0

I have downloaded and installed Editor 2.0.2 which is supposed to have a feature for editing multiple fields inline. I followed the documentation, but I am still getting the below error.

Error: Uncaught Cannot edit more than one field inline at a time

editorRequests.inline(requestTable.cells('.editable').nodes(), {
//submit: 'allIfChanged',
//scope: 'cell',
buttons: { label: '>', fn: function () { this.submit(); } }
});

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    I suspect the old 1.x version of Editor is still being used. I tried it here, http://live.datatables.net/fobamiya/1/edit , and it's behaving as expected with your code (click the 'edit' button).

    You can verify that in the code by printing editor.__proto__.constructor.version - that will display the version of the library.

    Colin

  • libradfordlibradford Posts: 8Questions: 1Answers: 0

    Yes, once I updated to the latest version, all worked accordingly.

Sign In or Register to comment.