🧐 FAQ
When using drag and drop between grids, can it be processed only in one direction rather than in both directions?

When using drag and drop between grids, I want to enable it to be processed only in one direction (A grid -> B grid) rather than in both directions.

You can set grid A's dataDropOptions.dragCallback as follows.

gridViewA.dataDropOptions.dragCallback = function (source, sourceItems, target, targetItem) {
     var sourceid = source.getContainer().id;
     var targetid = target.getContainer().id;
     if ((sourceid != targetid ) && (targetid == 'realgrid')) { //'realgrid' is a div in gridViewA
         return false
     }
}