Get the value of the cell when tabbing on the column
Get the value of the cell when tabbing on the column
Leju Palakapilly
Posts: 7Questions: 5Answers: 0
I have attached my code here.
http://live.datatables.net/vubayuyi/1/edit
The example won't work because I couldn't include the editor(I have downloaded a copy for trial use).
The issue is I am trying to set the value of Owner Name column depending on the value of Owner Id column.
For this I use the keydown event.
I see many issues.
- Doesn't work on existing rows.
- Won't work on new rows the first time the data is entered. Works the second time when the cell has focus.
Thanks.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I would use the Editor events for that - such as
preOpen
orpreInit
- that way you're catching the start of the editing sequence. Those would also work on exiting and new rows (depending on the event),Colin