How can I limit the user input the text in datagrid textbox? For example, a column only allows user to input character "G", "R" or "W". Other characters will be rejected.

Regards,
Calvin