Angular FilterBuilder Events
This section describes the events this widget raises.
disposing
Raised before the widget is disposed of.
Event
Information about the event.
| Name | Type | Description |
|---|---|---|
| component |
The widget instance. |
|
| element |
The widget's container. It is an HTML Element or a jQuery Element when you use jQuery. |
|
| model |
The model data. Available only if you use Knockout. |
Main article: onDisposing
See Also
editorPrepared
Raised after an editor is created.
Event
Information about the event.
| Name | Type | Description |
|---|---|---|
| component |
The widget's instance. |
|
| element |
The widget's container. It is an HTML Element or a jQuery Element when you use jQuery. |
|
| model |
The model data. Available only if you use Knockout. |
|
| value | any |
The editor's value. |
| setValue(newValue) | any |
A method that you need to call to change the field's value after the editor's value changes. |
| editorElement |
The editor's container. It is an HTML Element or a jQuery Element when you use jQuery. |
|
| editorName |
The editor's name. |
|
| dataField |
The data field's name. |
|
| filterOperation |
The applied filter operation. |
|
| updateValueTimeout |
Gets and sets the delay between when a user stops typing the field value and when it is applied. |
|
| width |
The editor's width. |
|
| readOnly |
Indicates whether the editor is read-only. |
|
| disabled |
Indicates whether the editor is disabled. |
|
| rtlEnabled |
Indicates whether the editor uses right-to-left representation. |
Main article: onEditorPrepared
See Also
editorPreparing
Raised before an editor is created.
Event
Information about the event.
| Name | Type | Description |
|---|---|---|
| component |
The widget's instance. |
|
| element |
The widget's container. It is an HTML Element or a jQuery Element when you use jQuery. |
|
| model |
The model data. Available only if you use Knockout. |
|
| value | any |
The editor's value. |
| setValue(newValue) | any |
A method that you should call to change the field's value after the editor's value changes |
| cancel |
Allows you to cancel the creation of the editor. |
|
| editorElement |
The editor's container. It is an HTML Element or a jQuery Element when you use jQuery. |
|
| editorName |
Allows you to change the editor. Accepts names of DevExtreme widgets only, for example, "dxTextBox". |
|
| editorOptions |
Gets and sets the editor configuration. |
|
| dataField |
The data field's name. |
|
| filterOperation |
The applied filter operation. |
|
| updateValueTimeout |
Gets and sets the delay between when a user stops typing the field's value and when it is applied. |
|
| width |
The editor's width. |
|
| readOnly |
Indicates whether the editor is read-only. |
|
| disabled |
Indicates whether the editor is disabled. |
|
| rtlEnabled |
Indicates whether the editor uses right-to-left representation. |
Main article: onEditorPreparing
See Also
initialized
Raised only once, after the widget is initialized.
Event
Information about the event.
| Name | Type | Description |
|---|---|---|
| component |
The widget's instance. |
|
| element |
The widget's container. It is an HTML Element or a jQuery Element when you use jQuery. |
Main article: onInitialized
See Also
optionChanged
Raised after a widget option is changed.
Event
Information about the event.
| Name | Type | Description |
|---|---|---|
| name |
The option's short name. |
|
| model |
The model data. Available only if you use Knockout. |
|
| element |
The widget's container. It is an HTML Element or a jQuery Element when you use jQuery. |
|
| component |
The widget's instance. |
|
| fullName |
The option's full name. |
|
| value | any |
The option's new value. |
Main article: onOptionChanged
See Also
valueChanged
Raised after the widget's value is changed.
Event
Information about the event.
| Name | Type | Description |
|---|---|---|
| component |
The widget's instance. |
|
| element |
The widget's container. It is an HTML Element or a jQuery Element when you use jQuery. |
|
| model |
The model data. Available only if you use Knockout. |
|
| value |
The widget's new value. |
|
| previousValue |
The widget's previous value. |
Main article: onValueChanged
See Also
If you have technical questions, please create a support ticket in the DevExpress Support Center.