Changing the RowId while Drag And drop

I’ve two grids, I am doing Drag and Drop from first Grid to second Grid, while doing this I want to Change the RowId of Source Grid to RowId of Target Grid.

You can use onDrop event to made any changes after drag-n-drop

    //sid - id of draged row in source grid
    //tid - id of target row
    //nid - new id of draged  row, which was assigned in target grid
    tgrid.changeRowId(nid, any_neccessary_id_here );