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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CurrentCellChanging event problem

Thread ID:





2738 Feb 12,2003 12:05 PM UTC Feb 12,2003 04:39 PM UTC WinForms 2
Tags: GridControl
Lyubomir Konstantinov
Asked On February 12, 2003 12:05 PM UTC

Hi, Firstly, I am currently evaluating the Essential Grid (so I dont know if the issue is fixed in the non-trial version :) ). The problem I have is that even if I set the Cancel property to true in the CurrentCellChanging handler of GridDataBoundGrid, the cell happily continues to accept the changes. Please advise. Best Regards, Lyubomir

Administrator [Syncfusion]
Replied On February 12, 2003 04:21 PM UTC

Thanks for reporting this. We were not aware on this issue so far. We'll get that fixed. As a workaround try handling the RowEditing event instead in the meantime. Or override PrepareViewStyleInfo and set e.Style.ReadOnly = true Stefan

Lyubomir Konstantinov
Replied On February 12, 2003 04:39 PM UTC

Thanx for the fast response. I've switched to the row event instead. One small issue though (not a big deal) - it looks like the the event is fired after the changes are put in the cell and after the e.cancel = true the original value of the cell is restored (the effect is like of a backspace being pressed). Also the cursor is positioned in the beginning of the cell value. Maybe It will be better to fire the event before the change is applied. Best regards, Lyubomir


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

Live Chat Icon For mobile
Live Chat Icon