0
votes

I want to drag and drop a button on a kendo grid and insert the row in a good position but how to do to insert the new row on end drag.

My sample is here : https://dojo.telerik.com/@lgoubet/AweYIQaZ

Thanks for your help

1

1 Answers

0
votes
  1. Find the row the element was dragged onto
  2. Find the dataItem for the row by grid.dataItem()
  3. Get the dataItem's index through dataSource.indexOf()
  4. Add a new row the the grid's dataSource through dataSource.insert()