Last Updated: 18 Jun 2020 06:03 by ADMIN
Thomas Brown
Created on: 11 Jun 2020 09:04
Category: Grid
Type: Bug Report
OnRowDropping event fires on Grid row selection

To reproduce the issue enable RowSelect and RowsDragDrop ClientSettings, and attach OnRowDropping  event listener

<ClientSettings AllowRowsDragDrop="true">
    <Selecting AllowRowSelect="true" />
    <ClientEvents OnRowDropping="function() {alert('RowDrooping event fired!');}"/>

1 comment
Posted on: 18 Jun 2020 06:02

Hi Thomas,


The Row Selection and Drag-n-Drop are inter-related. For example, there cannot be dragging of Rows if the AllowRowSelect property is set to false. 

When you start dragging a row, it gets automatically selected:

Similarly, even a slight mousedown-mouseup action (the definition of a mouse click) over the item means a very quick drag-n-drop, because once the users initiates a mouse-down action, the row begins to drag until the next mouse-up action. There is no way for the grid to tell whether the initiated dragging will end in 1 millisecond (simple selection) or in 1 minute (full dragging).

I hope this makes sense.


Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.