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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Cursoring Thru Covered Ranges

Thread ID:





36273 Oct 25,2005 04:22 PM UTC Oct 26,2005 03:41 PM UTC WinForms 3
Tags: GridControl
Asked On October 25, 2005 04:22 PM UTC

Run the Windows Forms Samples\Grid Samples\Quick Start\CoveredCells example shipped with Syncfusion Cursor to cell A4. Cursor to the right and then attempt to cursor up. It requires two keystrokes to cursor up. This does not occur when attempting to cursor down or to the right and left. I understand that it is based on the current cell location when entering the merged cell. Is this a bug, or is there a setting that can fix this? Please Advise. Thanks, Steve

Administrator [Syncfusion]
Replied On October 25, 2005 07:24 PM UTC

You can handle the QueryNextCurrentCell event and specify the behavior you want.
private void gridControl1_QueryNextCurrentCellPosition(object sender, GridQueryNextCurrentCellPositionEventArgs e)
	GridRangeInfo range = this.gridControl1.CoveredRanges.FindRange(e.RowIndex, e.ColIndex);
	if(range != null && !range.IsEmpty 
		&& (range.Top != e.RowIndex || range.Left != e.ColIndex))
		this.gridControl1.CurrentCell.MoveTo(range.Top, range.Left);
		e.Handled = true;
		e.Result = false;

Replied On October 25, 2005 11:01 PM UTC

Thanks Clay. Is this a bug that will be fixed in the next release? It''s not a critical issue for us right now. Thankss

Administrator [Syncfusion]
Replied On October 26, 2005 03:41 PM UTC

The grid architect will try to get a fix into our code for the next release.


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

or the page will be automatically redirected to 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