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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Tab down instead of across?

Thread ID:





2892 Feb 19,2003 05:12 AM UTC Feb 19,2003 09:52 AM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 19, 2003 05:12 AM UTC

I'd like to change the grid so that tabbing goes down the rows, then goes back up to the top of the next column, and continues down (only for focus-enabled cells, of course). However, I didn't see anything in the object model that would automatically support this, and my attempts to play around with various events have been unsuccessful so far. Any help would be appreciated... Thanks! -- Sean T.

Administrator [Syncfusion]
Replied On February 19, 2003 09:52 AM UTC

Hi Tim, what you have to do is handle the TAB key yourself. Do that that in OnKeyDown and OnCurrentCellKeyDown events. From these methods call a custom method that moves the current cell. If you have source code for EG, take a look at the CurrentCell.Move method. That's where you find the WrapCell code for wrapping the cell at the end of the row to the beginning of next code. If you create your own Move method similar to the one in CurrentCell.Move, copy that code and modify it to your needs you should be able to get this working. One note. In that code, instead of calling ExternalMove/InternalMove just call CurrentCell.Move. I haven't tried that. But that's how I would approach this. Let me know if run into problems. Stefan


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon