dataTables.keyTable.min.js:41 Uncaught TypeError: this.cell.blur is not a function

dataTables.keyTable.min.js:41 Uncaught TypeError: this.cell.blur is not a function

CSMAtrackerCSMAtracker Posts: 9Questions: 4Answers: 0

Hi, I'm trying to use inline editing, i have the following code as shown in example in the editor,

    formOptions: {
        inline: {
            submitOnBlur: true,
            onBlur: 'submit'
        }
    }

and I'm also activating it
$('#example').on( 'click', 'tbody td:not(:first-child)', function (e) {
editor.inline( this );
} );

However I continue to receive the error " this.cell.blur is not a function" inside dataTables.keyTable.min.js:41

I have no idea how to resolve it, any help is appreciated.

Answers

  • CSMAtrackerCSMAtracker Posts: 9Questions: 4Answers: 0

    I actually was able to fix that and it now works for all my tables except for one. For one of them I get this error and I have no idea why this is the only table it errors out on.

    dataTables.editor.min.js:43 Uncaught TypeError: Cannot read properties of undefined (reading 'attach')
    at a.mb [as inline] (dataTables.editor.min.js:43)

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

    We'll need to see that - given it's working with some of your code, and not elsewhere, it's going to be specific to that configuration.

    Colin

Sign In or Register to comment.