--- "Sherlock, Ric" <[EMAIL PROTECTED]> wrote: > I have an editable grid that contains strings. > If I select a cell and press the delete key, the string is deleted and > replaced with 0. > If I then double click on the cell to edit it, I can type in a string, > but when I press Enter I get the error message: > "Not a number: my text". > There doesn't seem to be a way to enter a string in the cell again? > > One solution I can think of is to try trapping the change(d) event > myself to stop the current check. Or maybe it would be even better to > trap the event that causes a 0 to be entered in the cell if it is > deleted? Any pointers?
Grid cells are typed by data. So if it initially contained numeric it can only stay numeric. If you want any values, then you need to convert the numerics to strings before the data is set to the grid. ____________________________________________________________________________________ Want to start your own business? Learn how on Yahoo! Small Business. http://smallbusiness.yahoo.com/r-index ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
