Unplanned
Last Updated: 30 Jun 2025 07:01 by Aleksandar
Aleksandar
Created on: 30 Jun 2025 07:01
Category: Grid
Type: Bug Report
0
The "rowReorder" event does not return a correct `newIndnex` when dragging a row from a lower row index to a higher row index

Bug report

The rowReorder event does not return the correct newIndex when dragging a row from a lower row index to a higher row index.

Reproduction of the problem

  1. Run this dojo https://dojo.telerik.com/omyPpaZb
  2. Drag Chai and drop after Chang. Note oldIndex is 0, newIndex is 2, which is unexpected as indices are 0-based

Image

  1. Re-run the dojo to start fresh and drag Chang and drop before Chai and the indices are correct - oldIndex: 1, newIndex: 0

Image

Current behavior

The returned newIndex is incorrect.

Expected/desired behavior

The returned newIndex should be correct.

Environment

  • Kendo UI version: 2025.2.520
  • Browser: [all]
0 comments