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

scroll on get focus

In a grid control on a panel, if you tab focus to the grid, it scrolls to the bottom. This occurs before OnGotFocus is called, so I am not sure where this is originating. How can I prevent this behavior? thanks! Lynn

1 Reply

AD Administrator Syncfusion Team September 24, 2004 09:32 PM UTC

You can try catching the grid''s Enter event and try calling grid.CurrentCell.MoveTo(1,1) to see if that will avoid this problem. If not, try catching the grid''s Leave event and call the grid.CurrentCell.MoveTo(1,1) there to see if that will avoid this problem the next time the grid gets the focus.

Live Chat Icon For mobile
Up arrow icon