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

Cell selection and editing

Hello! I have an another problem ;-) how can i select next row and an specified cell? for example: after editing was complete in row 1 cell 5, i want to select row 2 and cell 2. this cell 2 must have the cursor (like blinking), so that i can editing this cell. any idea? sorry my english is bad ;-) thanks a lot boris

1 Reply

AD Administrator Syncfusion Team January 13, 2004 09:23 AM UTC

I think you can do this by handling the QueryNextCurrentCellPosition event.
private void gridDataBoundGrid1_QueryNextCurrentCellPosition(object sender, GridQueryNextCurrentCellPositionEventArgs e)
	GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
	if(cc.RowIndex == 1 && cc.ColIndex == 5)
		cc.MoveTo(2,2, GridSetCurrentCellOptions.SetFocus);
		e.Handled = true;
		e.Result = false;

Live Chat Icon For mobile
Up arrow icon