filtering characters into a cell
I would like to filter characters into a cell. In other words, I'd like to
attach a function to onkeypress and onkeyup events:
gridobj.getCellTemplate(3,1).setEvent("onkeypress", AllowOnlyLetters);
The problem is that the very first input into the cell
is not being filtered. Subsequent entries are. So
for example, if I type '1' into the grid, it appears in the cell.
I delete the '1' and attempt to type it again. It does not appear:
the expected behaviour. (Very odd!)
attach a function to onkeypress and onkeyup events:
gridobj.getCellTemplate(3,1).setEvent("onkeypress", AllowOnlyLetters);
The problem is that the very first input into the cell
is not being filtered. Subsequent entries are. So
for example, if I type '1' into the grid, it appears in the cell.
I delete the '1' and attempt to type it again. It does not appear:
the expected behaviour. (Very odd!)
J Mansons
June 4,