We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Tabbing issues

I currently have a grid initialized with several rows already in it for user interaction. when the user first tabs into the grid, I notice that there is no focused cell. When they hit tab again then the 1st column header has a focus rectangle around it. My question is this: I want the user to be able to tab into the First Cell of the First Row when coming from another control, not the 1st column header. How can I make this work?

3 Replies

AD Administrator Syncfusion Team November 24, 2004 10:17 PM UTC

The default behavior is for the focus to go to the last cell that was current when the grid gets focus. Initially, if there is no current cell, the focus goes to cell 0,0 which is what you are seeing. One way around this is to set the current cell in formload. This way when the user tabs into the grid, the focus will go to that cell. this.gridControl1.CurrentCell.MoveTo(1,1);

TO Ted Osberg November 29, 2004 10:31 AM UTC

You mean in the ''Load'' event of the form?

TO Ted Osberg November 29, 2004 10:33 AM UTC

I got it. No need to reply. >You mean in the ''Load'' event of the form?

Live Chat Icon For mobile
Up arrow icon