Jade Table - Setting Focus in Cell
Posted: Fri Aug 07, 2009 12:48 pm
by Anonymous >> Thu, 14 Apr 2005 3:18:39 GMT
Hi,
Could be a silly question but Im having trouble with my Jade table.
Ive got a table that takes user input in a couple of cells.
Ive got a cell control (Text box) embedded in 1st cell of 1st row.
Once user has entered data I want it to automatically shift focus to another cell on same row.
Ive got code in the embedded text boxes key press method looking for terminator key, once found i try to set focus to the other cell.
I wont shift the cursor to the next input cell.
Tried cell.setSelected but it just highlights the cell and doesnt put the
cursor in cell.
Tried embedding a text box in that cell and setting focus to that but thats not working either.
Any help would be appreciated.
Tried setting the cell to inputType - Text box and setting focus to it by running.
cell.cellControl.setFocus; //No good.
Thanks Troy
Hi,
Could be a silly question but Im having trouble with my Jade table.
Ive got a table that takes user input in a couple of cells.
Ive got a cell control (Text box) embedded in 1st cell of 1st row.
Once user has entered data I want it to automatically shift focus to another cell on same row.
Ive got code in the embedded text boxes key press method looking for terminator key, once found i try to set focus to the other cell.
I wont shift the cursor to the next input cell.
Tried cell.setSelected but it just highlights the cell and doesnt put the
cursor in cell.
Tried embedding a text box in that cell and setting focus to that but thats not working either.
Any help would be appreciated.
Tried setting the cell to inputType - Text box and setting focus to it by running.
cell.cellControl.setFocus; //No good.
Thanks Troy