Quantcast
Channel: Recent Discussions — DataTables forums
Viewing all articles
Browse latest Browse all 82108

Tabbing and jEditable

$
0
0
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?).

Viewing all articles
Browse latest Browse all 82108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>