Issue with Grid Drag and Drop

2 Answers 29 Views
Grid
Dale
Top achievements
Rank 1
Iron
Dale asked on 08 Feb 2024, 08:41 PM

When row dragging and dropping the second time the UI doesnt refelct the change.

If I have an event I can see the drag and drop correctly, but the UI leaves the dragged row where it was

the code is simple

@(Html.Kendo().Grid<OncostVM>()
    .Name("OncostGrid")
    .DataSource(data => data
        .Ajax()
        .Read(read => read.Action("Read", "Oncost"))
        .PageSize(10)
    )
    .Columns(columns =>
    {
        columns.Bound(c => c.OncostId).Title("Id").Width(80).Filterable(false);
        columns.Template(@<text> </text>).Draggable(true).Width(50);
        columns.Bound(c => c.Name).Filterable(false);
        columns.Bound(c => c.Visible).Width(120).Filterable(false).YesNo("Visible");
        columns.Bound(c => c.Active).Width(120).YesNo("Active");
    })
    .Filterable()
    .Sortable()
    .Pageable(page => page.Refresh(true))
    .Reorderable(order => order.Rows(true))
    @* .Events(ev => { ev.RowReorder("dragRow"); }) *@
)

https://i.imgur.com/GiD6Pi2.gif

 

2 Answers, 1 is accepted

Sort by
0
Dale
Top achievements
Rank 1
Iron
answered on 08 Feb 2024, 09:22 PM
Fixed in latest version it seems.
0
Ivan Danchev
Telerik team
answered on 13 Feb 2024, 12:06 PM

Hello Dale,

A few fixes to bugs related to the drag and drop functionality have been included in the latest official version (2024.1.130) and the described issue is not reproducible with this version: https://netcorerepl.telerik.com/mIucldvm021aaFEA43

Regards,
Ivan Danchev
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages. If you're new to the Telerik family, be sure to check out our getting started resources, as well as the only REPL playground for creating, saving, running, and sharing server-side code.
Tags
Grid
Asked by
Dale
Top achievements
Rank 1
Iron
Answers by
Dale
Top achievements
Rank 1
Iron
Ivan Danchev
Telerik team
Share this question
or