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

AddNew and navigation

Thread ID:





70903 Jan 8,2008 06:54 PM UTC Jan 8,2008 11:35 PM UTC WinForms 1
Tags: Grouping
Martin Spencer
Asked On January 8, 2008 06:54 PM UTC

In the TableControlCurrentCellEditingComplete event, I call EndEdit() on the record being edited.

This has the effect of adding a new row, but the navigation tabs to a cell on the new row.

How can I force the current row of the table back to the row that was being edited so that the focus will remain on that row?

Many thanks

haneefm [Syncfusion]
Replied On January 8, 2008 11:35 PM UTC

Hi Martin,

Y can use the SetCurrent method to set the focus to the particular record's column in grid. Here is a code snippet that give the focus to the first column of the add new row in a grid by using AddNewRecord.SetCurrent method. Below is a code snippet

//For AddNewRecord..

//For CurrentRecord.

//For fisrt record.

Best regards,


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

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