treelist/dragdrop/ drope above and below

1 Answer 141 Views
Drag and Drop TreeList
Ehsan
Top achievements
Rank 1
Ehsan asked on 24 Sep 2021, 08:50 AM

Hello,

I am using TreeList component with drag and drop and I need to be able to change the order of elements in same level and  drop elements above or below of each other not only inside the parents.
Do any body has implemented Demo or a help content for that to share with me please?

Thanks in advance.

 

Regards,

Ehsan

 
Stefan
Telerik team
commented on 27 Sep 2021, 07:28 AM

Hello, Ehsan,

Please let me know if the requirement is to only be able to reorder the items in the same level or to move them between levels as well?

I'm asking because for example, if the user moves item X over item Y, how will we know if the user wanted to reorder them or to add item X as a child to item Y?

Share more details on the required and how it should behave in sample cases will help us better understand it.

Ehsan
Top achievements
Rank 1
commented on 27 Sep 2021, 07:55 AM

Hello Stefan,

I saw my requirement is available in
Drag & drop in jQuery TreeList Widget Demo | Kendo UI for jQuery (telerik.com)

and it is available in TreeView KendoReact component,

But not in TreeList KendoReact Component!

as it was a very old request of your costumers from 2015:
Make drag&drop behaviour on treeList same as on treeView (telerik.com)  and also here!

Is there any hope or chance to enable this obvious normal feature in KendoReact in short time or to save my time is better to use it as jQuery component in a React application as described here?

as answer to your question I need to be able to reorder the items in the same level and to move them between levels as well!

Best regards,
Ehsan

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 28 Sep 2021, 04:51 AM

Hello, Ehsan,

Thank you for the clarification.

This will require making a new feature to render an extra element between the rows which will act as a drop target for this action.

If you wish I can directly convert this to an official public feature request as this is how we prioritize the new features.

Regards,
Stefan
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Vishav
Top achievements
Rank 1
commented on 29 Apr 2024, 09:23 AM

Hello, Stefan

Is there any update /solution for this yet? 

Wissam
Telerik team
commented on 30 Apr 2024, 02:35 PM

Hi, Vishav,

It is currently only possible to drop the items as children to other parent items and this is demonstrated here:

As for the reordering, and dropping the items in between other child rows, we have a feature request that is currently in an unplanned stage. I can suggest adding a vote for it in order to increase its priority:

If you have any further questions on this matter, please let me know.

Regards,
Wissam
Progress Telerik
Tags
Drag and Drop TreeList
Asked by
Ehsan
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or