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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Home Key like Excel .

Thread ID:

Created:

Updated:

Platform:

Replies:

37909 Dec 1,2005 10:56 PM UTC Dec 2,2005 12:24 PM UTC WinForms 3
loading
Tags: GridControl
Adam K.
Asked On December 1, 2005 10:56 PM UTC

Does syncfusion support the same shortcut keys as excel. For example: HOME key - goes to the beginning of the row. Or do i have to code these all up seperately myself on keypress events, etc . . thks, ak

Administrator [Syncfusion]
Replied On December 2, 2005 12:50 AM UTC

ctl+left moves to the left-most column, ctl+right goes to the right-most, ctl+up goes up, ctl+down goes down, ctl+home gors top-left and ctl+end goes bottom-right.

Adam K.
Replied On December 2, 2005 12:14 PM UTC

but not the home key ?? >ctl+left moves to the left-most column, ctl+right goes to the right-most, ctl+up goes up, ctl+down goes down, ctl+home gors top-left and ctl+end goes bottom-right.

Administrator [Syncfusion]
Replied On December 2, 2005 12:24 PM UTC

No. ctl+left does what you said Home did. If you want Home to go to the left, then you will have to code this.
private void gridControl1_CurrentCellKeyDown(object sender, KeyEventArgs e)
{
	this.lastKeyDown = e.KeyCode;
	if(e.KeyCode == Keys.Home && Control.ModifierKeys == Keys.None)
	{
		GridCurrentCell cc = this.gridControl1.CurrentCell;
		cc.MoveTo(cc.RowIndex, this.gridControl1.Model.Rows.HeaderCount + 1);
	}
}

CONFIRMATION

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.

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

;