Click here to Skip to main content
15,883,883 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
hello,

can we handle the datagrid view on tab key?
instead of left right key?

i have 10 col in data grid view
2,3,5 r editable
1st on tab key it should go to 2 col(1 row) // by Datagrid view Enter event I done.
after edit in 2nd col focus goes to col ==>3
& then 5th i don't wan't to go curson/focus to next columns(i.e 6,7,8,9etc)
how can i done this
& after editing 5th focus come to next row 2nd cell.
Posted
Updated 26-Jan-10 6:52am
v2

1 solution

You will have to set the TABINDEX property for the textbox controls in the edit mode. In order to skip any control during tab - set "TabIndex = -1" for that.

You can do this on the webpage during design time or through javascript while going into edit mode.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900