Unplanned
Last Updated: 30 Apr 2020 11:57 by ADMIN
Jason
Created on: 29 Apr 2020 16:32
Category: ListBox
Type: Feature Request
1
Add autoScroll configuration option for ListBox draggable

Currently you can set draggable to true, however, when you want to drag the item to the top or bottom there is no auto scroll. This is not efficient because you need to constantly drop the item in order to move it where you want it. Please add autoScroll option similar to what you have on the kendoDraggable (https://docs.telerik.com/kendo-ui/api/javascript/ui/draggable/configuration/autoscroll) for each list item.

 

Thank you.

1 comment
ADMIN
Alex Hajigeorgieva
Posted on: 30 Apr 2020 11:57

Hi, Jason,

Thank you very much for the suggestion.

So that it can gain popularity, I have converted it to a public feedback item and others can upvote it here:

https://feedback.telerik.com/kendo-jquery-ui/1464004-add-autoscroll-configuration-option-for-listbox-draggable

It would be great if the draggable configuration option accepted other draggable settings and passed them on to the listbox.

Meanwhile, you can add this programmatically by handling the dataBound event of the listbox and using the setOptions() method:

     // listbox dataBound event
     dataBound: setAutoScroll

     
     function setAutoScroll(e){
          var wrapper = e.sender.wrapper;
          setTimeout(function(){
            var draggable = wrapper.data("kendoDraggable");
            draggable.setOptions({
              autoScroll:true
            });
          });
        }

Here is a sample Dojo for your reference:

https://dojo.telerik.com/@bubblemaster/AKuhAleT/2

Regards,
Alex Hajigeorgieva
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.