cpr.events.CDataEvent

Hierarchy

Index

Properties
Name Type Description
AT_TARGET Number eventPhase constant.
BUBBLING_PHASE Number eventPhase constant.
CAPTURING_PHASE Number eventPhase constant.
NONE Number Commits on Mar 29, 2018
baseRow Row Returns row based on insert at insertRow.
beforeValue Object Returns the value before the change.
bubbles Boolean Indicates whether the specified event is bubbled through the DOM.
cancelBubble Boolean The logging alias for the stopPropagation () method.
cancelable Boolean Indicates whether the event is cancelable.
clipboardData DataTransfer It is a properties provided in Poste, Copy, Cut.
columnName String Returns the column name.
composed Boolean Indicates whether the event propagated across the Shadow DOM area and the standard DOM area.
control IEventTarget Returns the control that dispatched the current event.
currentTarget EventTarget Identifies the current target of the event as it passes through the DOM.
currentValue Object Returns the current value.
defaultPrevented Boolean Returns a Boolean indicating if the preventDefault () method has been called on the event.
eventPhase Number Indicates the stage of the event flow currently being evaluated.
immediatePropagationStopped Boolean Obtains whether other listeners have been blocked from being called on the same event.
isTrusted Boolean A value that is true if it was generated by a user action, false if the script is written or modified, or passed through dispatchEvent.
isWrapper Boolean Returns whether this is a wrapper.
option CEventOption Returns the side information of the CEvent object.
propagationStopped Boolean Obtains whether the event has been blocked from propagating.
relatedTargetObject Object The child control on which the event is fired returns its associated side information within the parent control to which it belongs.
returnValue Boolean Indicates whether the default behavior of the event has been prevented.
row Row Returns the row object.
scoped Boolean A Boolean value that indicates whether an event can bubble at the border between the Shadow DOM and the normal DOM.
srcElement EventTarget Exclusive alias for the standard Event.target property.
target EventTarget A reference to the object that dispatched the event.
targetControl IEventTarget Returns the control that raised the first event.
targetObject Object Returns the associated object of the control where the first event occurred.
timeStamp Number Returns the time at which the event occurred based on ms (milliseconds).
type String Returns a string that contains the event type.
userData object Specifies or gets a custom data object.
Methods
Name Return Type Description
composedPath EventTarget[] Returns the path in an array of Listener objects on which to fire the event.
deepPath EventTarget[] The deepPath property of the Event interface returns an array of nodes with inflated events.
initEvent Initializes an event object created with the createEvent method of type 'Event'.
preventDefault Prevents the following default behavior:
setCurrentTarget Sets the event target element.
stopImmediatePropagation Prevents other listeners for the same event from being called.
stopPropagation Prevents further propagation of current events during the capture and bubbling phases.

Properties

AT_TARGET
declaring type CEvent
type Number
readonly
eventPhase constant. At this stage, a registered event listener is called at this time.
BUBBLING_PHASE
declaring type CEvent
type Number
readonly
eventPhase constant. This event propagates the ancestors of the target in reverse order, in reverse order, starting from the parent and eventually reaching the contained Window.
CAPTURING_PHASE
declaring type CEvent
type Number
readonly
eventPhase constant. The event is propagated through the ancestor objects of the target. This process begins with a window, a document, an HTMLHtmlElement, and so on until it reaches the parent of the object.
NONE
declaring type CEvent
type Number
readonly
Commits on Mar 29, 2018
baseRow
type Row
readonly
Returns row based on insert at insertRow.
beforeValue
type Object
readonly
Returns the value before the change.
bubbles
declaring type CEvent
type Boolean
readonly
Indicates whether the specified event is bubbled through the DOM.
cancelBubble
declaring type CEvent
type Boolean
get
The logging alias for the stopPropagation () method.
set
The logging alias for the stopPropagation () method.
cancelable
declaring type CEvent
type Boolean
readonly
Indicates whether the event is cancelable.
clipboardData
declaring type CEvent
type DataTransfer
readonly
It is a properties provided in Poste, Copy, Cut. Other events return null.
columnName
type String
readonly
Returns the column name.
composed
declaring type CEvent
type Boolean
readonly
Indicates whether the event propagated across the Shadow DOM area and the standard DOM area.
control
declaring type CEvent
type IEventTarget
readonly
Returns the control that dispatched the current event.
currentTarget
declaring type CEvent
type EventTarget
readonly
Identifies the current target of the event as it passes through the DOM.
currentValue
type Object
readonly
Returns the current value.
defaultPrevented
declaring type CEvent
type Boolean
readonly
Returns a Boolean indicating if the preventDefault () method has been called on the event.
eventPhase
declaring type CEvent
type Number
readonly
Indicates the stage of the event flow currently being evaluated.
immediatePropagationStopped
declaring type CEvent
type Boolean
readonly
Obtains whether other listeners have been blocked from being called on the same event.
isTrusted
declaring type CEvent
type Boolean
readonly
A value that is true if it was generated by a user action, false if the script is written or modified, or passed through dispatchEvent.
isWrapper
declaring type CEvent
type Boolean
readonly
Returns whether this is a wrapper.
option
declaring type CEvent
type CEventOption
readonly
Returns the side information of the CEvent object.
propagationStopped
declaring type CEvent
type Boolean
readonly
Obtains whether the event has been blocked from propagating.
relatedTargetObject
declaring type CEvent
type Object
readonly
The child control on which the event is fired returns its associated side information within the parent control to which it belongs.
returnValue
declaring type CEvent
type Boolean
get
Indicates whether the default behavior of the event has been prevented.
set
Sets whether the default behavior of the event is prevented.
By default, this is set to true to allow default behavior.
If this property is set to false, the default action is prohibited.
row
type Row
readonly
Returns the row object.
scoped
declaring type CEvent
type Boolean
readonly
A Boolean value that indicates whether an event can bubble at the border between the Shadow DOM and the normal DOM.
srcElement
declaring type CEvent
type EventTarget
readonly
Exclusive alias for the standard Event.target property.
Applies only to earlier versions of Microsoft Internet Explorer.
target
declaring type CEvent
type EventTarget
readonly
A reference to the object that dispatched the event.
It differs from event.currentTarget when an event handler is called in the bubbling or capture phase of an event.
targetControl
declaring type CEvent
type IEventTarget
readonly
Returns the control that raised the first event.
targetObject
declaring type CEvent
type Object
readonly
Returns the associated object of the control where the first event occurred. If a control has a child object, such as a Grid, the child object's information will be returned when the event occurs on the child object. The returned object may or may not be present, depending on the event firing control.
timeStamp
declaring type CEvent
type Number
readonly
Returns the time at which the event occurred based on ms (milliseconds).
type
declaring type CEvent
type String
readonly
Returns a string that contains the event type.
It is set when an event is generated and is a commonly used name to refer to a specific event.
userData
declaring type CEvent
type object
Specifies or gets a custom data object.

Methods

composedPath()
declaring typeCEvent
Returns the path in an array of Listener objects on which to fire the event.
return EventTarget[]
deepPath()
declaring typeCEvent
The deepPath property of the Event interface returns an array of nodes with inflated events.
return EventTarget[] An array of nodes.
initEvent(eventTypeArg, canBubbleArg, cancelableArg)
declaring typeCEvent
Initializes an event object created with the createEvent method of type 'Event'.
Parameters
name type description
eventTypeArg String A string that specifies the name (type) of the event to initialize.
canBubbleArg Boolean Specifies whether the event is bubbled. Sets the bubbles property of the event object.
cancelableArg Boolean Specifies whether the event can be canceled. Sets the cancelable property of the event object.
preventDefault()
declaring typeCEvent
Prevents the following default behavior:
setCurrentTarget(eventTarget)
declaring typeCEvent
Sets the event target element.
Parameters
name type description
eventTarget EventTarget
stopImmediatePropagation()
declaring typeCEvent
Prevents other listeners for the same event from being called.
stopPropagation(nativeCall)
declaring typeCEvent
Prevents further propagation of current events during the capture and bubbling phases.
Parameters
name type description
nativeCalloptional Boolean defaulttrue