capturing enter keypress
grid