ObjectDescriptor.subscribePropertyChangeStart Method

Subscribe a handler to the property change start event.
 

Parameters

callback

Type: Function
An event handler function to execute when a property is about to change. Functions
 will be passed an event object including the following properties:
     propertyDescriptor      [type: dundas.PropertyDescriptor]           - The property descriptor defining the property that will be changed.
     objectDescriptor        [type: dundas.controls.ObjectDescriptor]    - The object descriptor to which the property descriptor was added.
     eventData               [type: Object]
         changedPropertyId   [type: String]                              - The ID of the property descriptor that was changed.
         beforeState         [type: String]                              - The adapter stringified as JSON before the property change.
 
unsubscribe

Type: Boolean
(Optional) True to unsubscribe the specified callback that was previously subscribed.
Optional: True