user755806
user755806

Reputation: 6825

How to disable drag and drop feature in ExtGWT

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

Answers (1)

sanbhat
sanbhat

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

Related Questions