Tabbing and jEditable

Tabbing and jEditable

JaquioJaquio Posts: 8Questions: 0Answers: 0
edited February 2013 in Plug-ins
I saw this discussion (http://datatables.net/forums/discussion/8600/tab-to-next-cell-with-datatables-editable/p1) and would like to get more details on it. This is what I'd like my code to do:

1. The user types in text into a cell
2. Presses tab
3. Entered text is saved in the table (fnUpdate)
4. Tab causes the cursor to move to the next cell
5. Repeat from 1 to 4 until all desired cells have been updated
6. User presses enter, up or down
7. Edited row is committed to the DB (via Javascript function)
8. If the user pressed up or down, the cursor goes to the same cell in the row above or below
9. If the user pressed enter, editing is completed and no cells are available for edit

In the previous discussion there weren't much details on where the cell was obtained (e.g.: it indicates "oTds" but where did it come from?).

Replies

  • JaquioJaquio Posts: 8Questions: 0Answers: 0
    Can you guys give me a hand? I just can't find the row and cell when the keydown event happens.

    Thanks,
This discussion has been closed.