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

Home Key like Excel .

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

3 Replies

AD Administrator Syncfusion Team 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.


AK Adam K. 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.


AD Administrator Syncfusion Team 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);
	}
}

Loader.
Live Chat Icon For mobile
Up arrow icon