Mousewheel scrolling

I''m using a grid embedded within my own ScrollableControl. The grid displays a horizontal scrollbar, and the control in which it is embedded displays a vertical one. When I select a row in the grid and move the mousewheel, the grid scrolls horizontally and the parent control scrolls vertically, which is a little confusing to say the least! Can I switch off the mousewheel horizontal scrolling in the grid?

1 Reply

AD Administrator Syncfusion Team June 3, 2005 11:24 AM UTC

You can try deriving the grid class and override OnMouseWheel and not call the base class.
public class MyGridControl : GridControl
{
	protected override void OnMouseWheel(MouseEventArgs e)
	{
		//base.OnMouseWheel (e);
	}
}

Loader.
Up arrow icon