Editor Inline tab not working

Editor Inline tab not working

edcarmonedcarmon Posts: 1Questions: 1Answers: 0

I'm trying to use the inline tab feature for the Editor shown at https://editor.datatables.net/examples/inline-editing/tabControl.html

However, when I click on a cell which enables the inline editing I can not tab to the next cell. When I click on Tab it only takes me to the Prev/Next buttons at the bottom of the table. I've used the exact code that is shown on the link above and included the following:

$('#words').on( 'click', 'tbody td:not(:first-child)', function (e) {
     editor.inline( this );
} );

If I don't include the code above, inline editing doesn't work at all. (Not sure if this code was mistakenly left out of the example code or not...)

Any ideas why I can't get the Tab feature to work?

Thanks!

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,598

    Hi @edcarmon ,

    You don't need both the keys in the table, and the click event triggering the inline() - the example you linked to only has the keys, as does this one here.

    Hope that helps,

    Cheers,

    Colin

This discussion has been closed.