The 'Tab' Key can't work after one column updated - An Editor Problem

The 'Tab' Key can't work after one column updated - An Editor Problem

loquat7loquat7 Posts: 3Questions: 1Answers: 0

Hey, guys. I'm a datatables fans, and trying to use editor in my application.

I download the last version by DataTables download builder. https://datatables.net/download

Try to use the editor's inline mode, like this: Tab between columns, https://editor.datatables.net/examples/inline-editing/tabControl.html

My problem : the tab key can't work after the server side response, you can't use the Tab key to edit through the whole line.

here is my test case: http://114.215.164.199:8080/editor/resource/query.do

Any advice would be appreciated! thank you.

Answers

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

    One option perhaps would be to reselect that cell in postEdit. The only downside there would be if the submission happened because the user tabbed out of the cell to the next one, causing a blur, then the cell would be pulled back. I don't think there is a tidy one-size-fits-all solution.

    Colin

  • loquat7loquat7 Posts: 3Questions: 1Answers: 0

    Hi Coin, is there an example about the Event postEdit ?

    Just want my table like the example : https://editor.datatables.net/examples/inline-editing/tabControl.html,

    I don't know why the example is fine, but mine isn't, any option wrong or lost?

    Thank you.

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

    Ah, so is that example behaving exactly how you want? If so, it would be worth pasting your code here, or updating this example here to demonstrate your issue?

    Btw, this is an example with postEdit,

    Colin

This discussion has been closed.