Pending Review
Last Updated: 13 Nov 2018 23:40 by ADMIN
Maxime
Created on: 18 Oct 2016 17:26
Category: Kendo UI for Angular 2+
Type: Feature Request
11
Add a drag handle option for the Sortable
Every drag and drop library I have used in the past support a handle option, meaning that the drag of an item only occurs if the the user has clicked on a specific child element of the item. Normally this option's value is a selector.

<kendo-sortable [data]="tracksData" [handle]="#headerBar">
    <template let-trackData="item">
        <track [tempo]="trackData.tempo"></track>
    </template>
</kendo-sortable>

Where #headerBar is the selector of an indirect or direct child element of TrackComponent.

I don't see how this can be achieved with the current API, but perhaps I'm wrong.

Here are 2 examples of an API for a handle option:
- jQuery UI
- dragula

Github ticket: https://github.com/telerik/kendo-angular2/issues/57#issuecomment-254558547
1 comment
Matjaž
Posted on: 08 Sep 2018 08:31
+1