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

CurrentCellValidating event

Is there a way to prevent the CurrentCellValidating event from firing. I have a pushbutton cell in each row to remove that row. This event fires when i call the RemoveRange method. It also fires when the row is selected using the row header (another way a user can delete the row).

Is there a way to prevent the event from firing in certain situations, or do i have to manage it myself with flags, etc.

Thanks,
Julie

2 Replies

AD Administrator Syncfusion Team January 4, 2007 04:14 AM UTC

Hi Julie,

Before calling the RemoveRange method, you need to set the CurrentCell.IsModified property to false. Please try the suggestion and let me know if this helps.

Best Regards,
Haneef



JL Julie Levy January 4, 2007 10:41 PM UTC

Thanks Haneef, this works just as i needed for RemoveRange.
Julie

Loader.
Live Chat Icon For mobile
Up arrow icon