I’ve two Grids in the page. I am doing Drag and Drop from First Grid to Second Grid, I want to Change the RowId of SourceId to TargetId Format while Dropping into the Target Grid.

There is changeRowId method which allows to change id.

You can this method from the onDrop event handler:




If the dragged item has id which exists in the target grid, this id we be replaced automatically by a random number in the target grid. In this case the new id is DroppedId (the 3rd parameter of the onDrop event handler).