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

Tapping into the events of the current cell while in edit mode

Thread ID:





98014 Jan 25,2011 03:59 PM UTC Feb 3,2011 03:22 PM UTC WPF 1
Tags: GridControl
Will Graham
Asked On January 25, 2011 03:59 PM UTC


I've been using your WPF grid for quite a while. Recently, I wanted to change the value the user sees when the current cell enters edit mode. We are using suffixes for some cells to signify different properties of the data. So for example, a cell showing "40%D" should be changed to "40%" when entering edit mode. If the user changes the "40%" to "60%", when edit mode is left, the value should be updated to "60%D". I've tried using Grid.CurrentCellStartEditing, but the value of the cell doesn't get updated until editing mode is exited. Can someone please clarify how I would go about doing this?

We have also ran into other issues tapping into the context menu available while the cell is editing mode. Is it possible to access these?

Looking forward to a response,
- Will Graham

Thangaraj T [Syncfusion]
Replied On February 3, 2011 03:22 PM UTC

Hi Will,

Thanks for using Syncfusion Products.

You can achieve this by changing the NumberFormat of PercentEdit cell in CurrentCellStartEditing and CurrentCellEditingComplete event handler. We have created a sample for these things. Please find the sample for this in the following location.

Sample : http://www.syncfusion.com/uploads/redirect.aspx?&team=support&file=PercentCell2042197549.zip

Please let us know if you have any queries.

Thangaraj T.


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