This is a migrated thread and some comments may be shown as answers.

Add the possibility to have a grip element for dragging a treeview node

6 Answers 102 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Alexandre Jobin
Top achievements
Rank 1
Alexandre Jobin asked on 15 Jan 2019, 03:09 PM
Presently, the draggable zone is on the entire node. It would be nice to have the possibility to specify a dragging element in the node instead. You can see the dragging icon on my screenshot.

The initialization of the control could be something like that with the dragFilter option:

$("#categories-treeview").kendoTreeView({
    dragAndDrop: true,
    dragFilter: ".drag-handler"
});


This feature would answer some requested feature here:

I already have the solution working on my side and I can give it to Telerik anytime. This is as simple as 3-4 lines of code added to the TreeView control. I think it could be a great addition to the control.

6 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 17 Jan 2019, 09:08 AM
Hello Alexandre Jobin,

You could prepare a simple TreeView custom solution that demonstrates the added functionality and share it here. I will then be able to review it and create a public Knowledge Base Article in order to make the example available for the rest of the community.

Also, we are constantly monitoring the Feedback Portal items. Based on the demand and gathered feedback, this feature could be scheduled for implementation in a future release of Kendo UI.

Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Alexandre Jobin
Top achievements
Rank 1
answered on 17 Jan 2019, 06:42 PM
Here's the demo based on Kendo v2019.1.115.
0
Dimitar
Telerik team
answered on 21 Jan 2019, 02:52 PM
Hello Alexandre Jobin,

Thank you for the provided sample.

I will examine it, isolate the changes, and if everything works correctly I will create a Knowledge Base Article based on it.

Regards,
Dimitar
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Alexandre Jobin
Top achievements
Rank 1
answered on 06 Feb 2019, 03:41 PM
Any news to give us?
0
Veselin Tsvetanov
Telerik team
answered on 08 Feb 2019, 02:50 PM
Hello Alexandre,

Please accept out apologies, as we still haven't finalize the review. We will come back to you as soon as we are ready.

Regards,
Veselin Tsvetanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Dimitar
Telerik team
answered on 11 Feb 2019, 02:08 PM
Hello Alexandre,

I have extracted the logic and created an example in the Knowledge Base section of the documentation. You can check it out from the below link:


Regards,
Dimitar
Progress Telerik
Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Paul
Top achievements
Rank 1
commented on 30 May 2023, 02:31 PM | edited

Hi Dimitar,

Is there a similar workaround available in Kendo UI for Angular?

Best Regards,

Paul

Martin
Telerik team
commented on 01 Jun 2023, 10:13 AM

Hi Paul,

So far there isn't a built-in mechanism for controlling the drag targets of the TreeView. By default, the whole content of the kendoTreeViewNodeTemplate is part of the draggable area. But it sounds like a good enhancement to have. That is why we monitor the demand for the following feature request:

https://feedback.telerik.com/kendo-angular-ui/1597226-specify-drag-target

Please cast your vote as well.

We monitor the customer demand for various enhancements here and consider adding to the Roadmap the most voted ones. 

Paul
Top achievements
Rank 1
commented on 01 Jun 2023, 01:54 PM

Thanks for getting back to me Martin.  I have voted on the feature request.
Tags
TreeView
Asked by
Alexandre Jobin
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Alexandre Jobin
Top achievements
Rank 1
Veselin Tsvetanov
Telerik team
Share this question
or