New to KendoReact? Start a free 30-day trial
Implement Scrolling to the Bottom for the KendoReact ListBox
Environment
Product Version | 8.3.0 |
Product | Progress® KendoReact ListBox |
Description
I want to implement a scroll-to-bottom behavior for the ListBox when an item is dragged and dropped or when an item is transferred between ListBoxes.
Solution
To implement the scroll-to-bottom behavior, first, obtain a reference to the ListBox component. In the onToolClick event of the ListBoxToolbar
and the onDrop event of the ListBox, use the scrollIntoView
method to scroll to the bottom whenever an item is dropped or transferred using the arrows.
Change Theme
Theme
Loading ...