I would like to implement a custom behavior of the drop event of DnD in dgrid. I have the following gdrig declaration:
this.grid = new (declare([OnDemandGrid, Editor, DnD, DijitRegistry]))({
region: "center",
collection: this.store,
selectionMode: 'single',
columns: ...
}, this.gridNode);
this.grid.startup();
What I exactly want is simple: after I drag and drop a row in the grid (reorder the items in dgrid) I want to trigger an event (function - say to get the current row and manipulate it, etc.). The problem is that I do not know how to override the onDrop event or drag event. Can someone give me a hint.