Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
60
CanEnterEditMode should return false when mode is ActivateOnly
posted

The function CanEnterEditMode returns true for cells with activation mode set to ActivateOnly which is not the expecting behavior unless i am misunderstanding the edit mode definition.

the function internal bool CanCellEnterEditMode(UltraGridRow row, bool isEnteringFromTemplate) uses

return Activation.Disabled != activationResolved && Activation.NoEdit != activationResolved;

I think it should be

return Activation.AllowEdit == activationResolved; 

because AllowEdit is the only mode allowing the edition of the cell.

Regards,

Bneoit Hay