Reputation: 6825
I am using EditorGrid in ExtGWT. currently DnD feature is enabled. i want desable in particular context. please help me how to achieve this.
Thanks!
Upvotes: 1
Views: 591
Reputation: 17622
You can call DropTarget's disable() OR DragSource's disable() method to either disable Dragging OR Dropping.
You can also change the "group" field of DropTarget or DragSource (using setGroup) to have a mistmatch between both of them to disable DnD.
Upvotes: 1