I want to check if the item im trying to input is in the flexgrid

example i have a keypress on textbox1

ill input 1 on that textbox, when i press enter it will check if it is already in the flexgrid else if its not, it will display what i inputted on textbox1.

could really need some help on this one