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

How do I stop autoscrolling when clicking in rightmost column?

I have a grid control restricted to 5 columns and have disabled HScrollBehaviour. When I click in the fifth column the grid scrolls to the right revealing the background of the control. There are no more columns to display. How can I stop this behaviour?

1 Reply

Administrator July 1, 2004 03:31 PM UTC

If you enlarge your gridbounds by a point or two, the behavior may go away. Another thing you can do is to subscribe to the LeftColChanging event, and in the handler set e.Cancel = true. This should prevent any scrolling.
Loader.
Live Chat Icon For mobile
Up arrow icon