View Full Version : Custom Drag and Drop Behavior for Grid

9 Mar 2012, 9:23 AM
I'd like to have following drag & drop behavior for grid - the user shouldn't be able to drop an element while it's not precisely over a row. Default plugin (http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.plugin.DragDrop) allows to drop an element while it's anywhere over the grid. So, is it possible to configure default plugin to behave this way or do I need to implement custom drag & drop plugin? If the second is the case, what exactly do I need to implement to achive such behavior (only custom DropZone or maybe something else)?

9 Mar 2012, 12:18 PM
The current plugin isn't that configurable. The indicator is positioned by positionIndicator of Ext.view.DropZone