In the above Image, I generator a Sudoku Matrix of 9x9 values. Is there any way I can allow user to enter individual values by moving around the caret and typing?

Basically, I want them to just be able to change the values displayed on the screen by moving the caret or cursor and typing at that location.

How can I achieve this?