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

Tab out of cell, lose edit

Thread ID:





117313 Sep 25,2014 06:57 PM UTC Oct 7,2014 10:16 AM UTC WPF 3
Tags: GridDataControl
Mike Anderson
Asked On September 25, 2014 06:57 PM UTC

In a cell of a GridDataControl if I tab out of the cell when editing, it loses the edit. Is there any way to accept the edit when tabbing out of a cell. I also get this behavior if I click a totally separate control that causes the GDC to be displaced. For example, if the GDC is in a tabbed doc and I switch tabs, the edit is lost. Any ideas?

Akila Rajaram [Syncfusion]
Replied On September 29, 2014 07:40 AM UTC

Hi Mike ,


Query 1 : Loses the edit if I tab out of the cell when editing


You can hold the cell in edit mode when tabbing out of the cell by using BeginEdit() method . We have prepared the sample based on your requirement . Please refer the below attached sample .


In this sample , we load the two GridDataControl in to two different tabs. Please refer the below code snippet ,


Code Snippet:


void grid_PreviewKeyDown(object sender, KeyEventArgs e)



            if (e.Key == Key.Tab)



                e.Handled = true;




Query 2 : switching from one tab in to another, the edit is lost


We are not able to replicate the reported query” if the cell in edit  mode and  switched from one tab in to other  tabs, the edit is lost”. Please refer the attached sample and send reproducible sample along with replication procedure .


Please let us know if you have any other queries .




Attachment: GridDataControlsample_TabNavigation_33c127a2.zip

Mike Anderson
Replied On September 30, 2014 09:02 PM UTC

I found my error - thanks!

Akila Rajaram [Syncfusion]
Replied On October 7, 2014 10:16 AM UTC

Hi Mike ,


Thank you for the update, Please let us know if you require further assistance.





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