Events

This section describes events exposed by this widget.

disposing

Fires when you dispose of this component.

Event Handler Argument:

Provides function parameters.

Object structure:
component: Object

Provides access to the widget instance.

element: jQuery

An HTML element of the widget.

model: Object

Provides access to the data that is available for binding against the element.

optionChanged

Fires after an option of the component is changed.

Event Handler Argument:

Provides function parameters.

Object structure:
component: Object

Provides access to the widget instance.

element: jQuery

An HTML element of the widget.

model: Object

Provides access to the data that is available for binding against the element.

value: any

Specifies a new value for the option.

validated

Fires after an editor value is validated against the specified validation rules.

Event Handler Argument:
selectedRowsInfo: Object

Provides function parameters.

Object structure:
name: String

The value of the name option.

isValid: Boolean

Indicates whether all the rules checked for the value are satisfied.

value: Object

The validated value.

validationRules: Array

An array of the validation rules specified for the current dxValidator object.

brokenRule: Object

The object representing the first broken rule in the list of the specified validation rules.