Supporting TAB key in the web GRID


#1

I was frustrated by how data entry is somewhat cumbersome in the web grid because the TAB key sets focus off the sheet onto something else instead of moving to the next available cell. To fix this I added the following javascript function to the page:

To get the grid to call the new function I added the following code in the code behind on Page_Load event:

GridWeb1.Attributes.Add("onkeydown", "goToNextCell();")

Now, when you press the TAB key, you move from cell to cell and you can enter data in a more intuitive way.

Charley Lee


#2

That’s a great idea. Thank you.


#3

Thanks Charley! Just what I was looking for. :slight_smile: