I have a situation where I need to allow the user to lookup a company name from within a cell on the grid. Preferably I would like the user to be able to enter in part of the company name in the cell and hit enter and have additional code do a lookup and eventually return a valid name and id. However, hitting enter attempts to commit the record so, I was looking at an alternative way of doing this possibly having a small button in the cell which the user could click on and perform a lookup. The cell would still need to be able to have text entered into it, however.
Is there a way I can intercept the “enter” ansi character before the grid attempts to commit the record and I can then do my lookup?
Does anyone have any suggestions for what I am trying to accomplish?
Imported from legacy forums. Posted by DBAJAM (had 2913 views)