React ScrollView Events
This section describes events fired by this widget.
See Also
- Handle Events: jQuery | Angular | AngularJS | Knockout | ASP.NET MVC
disposing
Raised when the widget is removed from the DOM using the remove(), empty(), or html() jQuery methods only.
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. | 
See Also
- Handle Events: jQuery | Angular | AngularJS | Knockout | ASP.NET MVC
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
- Handle Events: jQuery | Angular | AngularJS | Knockout | ASP.NET MVC
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. | 
See Also
- Handle Events: jQuery | Angular | AngularJS | Knockout | ASP.NET MVC
pullDown
Fires after the widget is scrolled to the top and pulled down.
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 Knockout is used. | 
Instead, you can use the onPullDown option to handle the event.
The function handling this event should contain a call to the release() method, which releases the scroll view.
$("#scrollViewContainer").dxScrollView("instance").on("pullDown", function(options) {
    . . .
    options.component.release();
})See Also
- Handle Events: jQuery | Angular | AngularJS | Knockout | ASP.NET MVC
reachBottom
Fires after the widget is scrolled to the bottom and pulled up.
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 Knockout is used. | 
Instead, you can use the onReachBottom option to handle the event.
The function handling this event should contain a call to the release() method, which releases the scroll view.
$("#scrollViewContainer").dxScrollView("instance").on("reachBottom", function(options) {
    . . .
    options.component.release();
})See Also
- Handle Events: jQuery | Angular | AngularJS | Knockout | ASP.NET MVC
scroll
Fires on each scroll gesture.
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 Knockout is used. | |
| jQueryEvent | Use 'event' instead. The jQuery event that caused the handler execution. Deprecated in favor of the event field. | |
| event | Event (jQuery or EventObject) | The event that caused the handler execution. It is a dxEvent or a jQuery.Event when you use jQuery. | 
| scrollOffset | The current scroll offset in the following format: { top: topOffset, left: leftOffset }. | |
| reachedLeft | Indicates whether the container's left boundary is reached. | |
| reachedRight | Indicates whether the container's right boundary is reached. | |
| reachedTop | Indicates whether the container's top boundary is reached. | |
| reachedBottom | Indicates whether the container's bottom boundary is reached. | 
updated
Fires after the widget is updated.
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 Knockout is used. | |
| jQueryEvent | Use 'event' instead. The jQuery event that caused the handler execution. Deprecated in favor of the event field. | |
| event | Event (jQuery or EventObject) | The event that caused the handler execution. It is a dxEvent or a jQuery.Event when you use jQuery. | 
| scrollOffset | The current scroll offset in the following format: { top: topOffset, left: leftOffset }. | |
| reachedLeft | Indicates whether the container's left boundary is reached. | |
| reachedRight | Indicates whether the container's right boundary is reached. | |
| reachedTop | Indicates whether the container's top boundary is reached. | |
| reachedBottom | Indicates whether the container's bottom boundary is reached. | 
If you have technical questions, please create a support ticket in the DevExpress Support Center.