I can see that behind the scenes that when a EditorExitEvent is triggered, and the use rhas not changed the existing value, that an 'undefined' is returned for newValue. On the otherhand, when the user has changed the value to be empty, a null is returned for newValue.
The issue is that in SmartGWT, both of these values get converted to null and I am unable to tell which scenario had occurred.
Ultimately, I want to retrieve the NEW value after the edit, whether or not the value was changed. Thus if the user does NOT change the existing value, I'd like to retrieve the existing value.
The issue is that in SmartGWT, both of these values get converted to null and I am unable to tell which scenario had occurred.
Ultimately, I want to retrieve the NEW value after the edit, whether or not the value was changed. Thus if the user does NOT change the existing value, I'd like to retrieve the existing value.
Comment