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

Issue with CurrentCellStartEditing event

Thread ID:

Created:

Updated:

Platform:

Replies:

107238 Feb 20,2013 03:30 PM UTC Feb 25,2013 11:29 AM UTC WinForms 5
loading
Tags: GridControl
Neeraj K
Asked On February 20, 2013 03:30 PM UTC

Hi there,

I'm facing problem with CurrentCellStartEditing and SaveCellInfo event combination when the active current cell behavior set to select all.(ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll;)

More info on the issue...

We are using grid in virtual mode and we dont allow the cell editing based on some condition. This condition will vary based on user action.  So when the condition is true, we set e.Cancel =  true in the CurrentCellStartEditing event. This is works fine as long as ActivateCurrentCellBehavior = GridCellActivateAction.DblClickOnCell and SaveCellInfo is not getting fired.

But when ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll is set, SaveCellInfo is getting fired even when currentcellstartediting event is set to cancel by setting e.Cancel = true.

I know we can do workaround for this to avoid this issue.. but is this right behavior?  Whatever the current cell behavior, savecellinfo should not fired when cellstartediting event is set to cancel?

Vinish Kumar K [Syncfusion]
Replied On February 21, 2013 10:19 AM UTC

Hi Neeraj,

 

Thank you for your interested in Syncfusion products.

 

Query

Cancel the SaveCellInfo event in Virtual Grid.

We have analyzed your query ‘ Cancel the SaveCellInfo event when GridCellActivateAction.SelectAll. In our virtual grid, if you have used the GridCellActivateAction.SelectAll, the currentcell is modified when you have activated the currentcell.

 

Due to this behavior the current cells are activated and the saveCellInfo events are fired in your application. We can avoid this by any of workaround. To handle this please provide the sample code which is used to reproduce the issue in your end. We will provide the proper response.

 

Regards,

Vinish


Neeraj K
Replied On February 21, 2013 10:52 AM UTC

Hi Vinish,

When the CurrentCellStartEditing event is cancelled. This means user is not allowed to edit current cell. In that case savecellevent should not be fired!  I've attached your modified same source code.  Please run this and try to enter any text in the grid..

Regards


CS_d82cf7d1.zip

Vinish Kumar K [Syncfusion]
Replied On February 22, 2013 05:37 PM UTC

Hi Neeraj,

 

Thanks for your update.

 

We have deeply analyzed the sample file which is you have provided in your last update. We have confirmed that the issue with “ CurrentCellStartEditing cancel doesn’t works when the ActivateCurrentCellBehavior = GridCellActivateAction.SelectAll  ” is a defect and we have logged a defect report. The fix for this issue will be available in Vol 2 of Syncfusion essential studio which is available in first week of May, 2013.

 

Regards,

Vinish 


Neeraj K
Replied On February 23, 2013 05:24 PM UTC

Hi Vinish,

Thanks for confirming the issue.  Currently we dont have maintenance agreement with syncfusion, but we are licensed user for version 8 series.  Do we get any patch for this?

Regards

Vinish Kumar K [Syncfusion]
Replied On February 25, 2013 11:29 AM UTC

Hi Neeraj,

 

Thanks for your update.

 

We recommend you to create incident in Direct trac in order to get a patch if you have an valid license. Without the valid license we couldn’t able to provide patch. Would you please contact salessupport@syncfusion.com for your license renewal? They will be able to provide further assistance in this regard.

 

Regards,

Vinish.


CONFIRMATION

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.

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

;