datatables + editor + autocomple + keys (xls like navigations)

datatables + editor + autocomple + keys (xls like navigations)

wohlgemuthwohlgemuth Posts: 3Questions: 1Answers: 1

dear all,

I have an odd problem.

We have a datatable, with an working inline editor and working key navigation. Today we wanted to add a simple autocomplete, as explained in the documentations and discovered that it conflicts with the key navigation.

is there some way to specify:

if editorModeIsEntered
then disableKeyNavigation

if editorModeIsExited
then enableKeyNavigation

right now, anytime the autocomplete pops up and we use keys to select and item, the key navigation automatically jumps to the next row and so exists the edit mode.

This question has an accepted answers - jump to answer

Answers

  • wohlgemuthwohlgemuth Posts: 3Questions: 1Answers: 1
    Answer ✓

    nvm found the answer (mostly)

    https://datatables.net/reference/option/keys.editorKeys

    no I just wish that something like tab-return-only would exist. But it's close enough to satisfy our needs.

  • allanallan Posts: 63,889Questions: 1Answers: 10,530 Site admin

    Finer grain control over what keys are enabled is certainly something that I plan to introduce in future - thanks for the vote for that feature :)

    Allan

This discussion has been closed.