View Issue Details

IDProjectCategoryView StatusLast Update
0005977New Feature Requests[All Projects] Generalpublic2017-06-18 20:57
ReporterDevan_LTAssigned To 
Status newResolutionopen 
Summary0005977: [Request] Make cancelEvent work in onElementDataChange

Using cancelEvent in onElementDataChange should prevent the element data from being changed. It's already possible to do this with setElementData(source,dataname,oldvalue), but then we need to use some variable and a condition to avoid infinite recursion, as setElementData would call another onElementDataChange, so I'd say this way is a workaround. Simply writing cancelEvent() is better.

TagsNo tags attached.



2011-03-11 17:57

viewer   ~~0013067

cancelEvent should be added in a maximum of events IMO.

Issue History

Date Modified Username Field Change