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

Working Example - Drag n drop with in-cell editing

2 Answers 54 Views
TreeList
This is a migrated thread and some comments may be shown as answers.
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Joel asked on 28 Feb 2020, 09:08 PM

The project listed under the demo has so many holes in it that there is no way anyone has had success trying to copy it.

This is the example I'm trying to get working.  I want this to work with Cell Editing and Drag and Drop.  Do you have a working code set?

https://demos.telerik.com/aspnet-core/treelist/editing-incell

2 Answers, 1 is accepted

Sort by
0
Accepted
Tsvetomir
Telerik team
answered on 04 Mar 2020, 01:48 PM

Hi Joel,

The example that you refer to contains the implementation of the TreeList-related logic. The service layer along with handling the CRUD operations has not been included for clarity reasons. What I can recommend is that you navigate to your account -> Downloads -> Telerik UI for ASP.NET Core and download the zip file.

https://www.telerik.com/account/product-download?product=UIASPCORE

After extracting the contents, navigate to the following path:

~\wrappers\mvc-6\demos

The project that hosts the live demo is included there. You could closely examine the example of interest. A modification that you should do in order to make the widget draggable and editable is the following one:

    .Editable(e => e.Mode(TreeListEditMode.InCell).Move(true))

Also, in case you have created a brand new project, you should consider changing the JSON serialization options. More information could be found in the following article:

https://docs.telerik.com/aspnet-core/getting-started/prerequisites/environment-support#json-serialization

In case additional assistance is needed, let me know.

 

Regards,
Tsvetomir
Progress Telerik

Get quickly onboarded and successful with Telerik UI for ASP.NET Core with the dedicated Virtual Classroom technical training, available to all active customers.
0
Joel
Top achievements
Rank 2
Iron
Iron
Iron
answered on 04 Mar 2020, 04:26 PM

This is answered my request.

Side note... I didn't get there by your instructions because there is a long list of stuff on that link.  However, I did download the demos from the dashboard and the "Open Sample .NET Core..." link launched visual studio.

Thanks,

Joel

Tags
TreeList
Asked by
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Answers by
Tsvetomir
Telerik team
Joel
Top achievements
Rank 2
Iron
Iron
Iron
Share this question
or