According to the demo of the add-on, DDGridLayout swap an occupied cell with an empty one. In opposite, this new DDSwapGridLayout swap an occupied cell with another occupied. See the screenshot of a working example in attachement of the first post https://vaadin.com/forum#!/thread/13820707 I added the DropHandler and DropEvent in the right packages. However I use a custom DragAndDropWrapper in the puporse of to retrieve a component of the GridLayout, see getUnWrappedComponent method from DDGridLayout, I don't no if it is a good idea or the user should do it himself.
According to the demo of the add-on, DDGridLayout swap an occupied cell with an empty one. In opposite, this new DDSwapGridLayout swap an occupied cell with another occupied. See the screenshot of a working example in attachement of the first post https://vaadin.com/forum#!/thread/13820707 I added the DropHandler and DropEvent in the right packages. However I use a custom DragAndDropWrapper in the puporse of to retrieve a component of the GridLayout, see getUnWrappedComponent method from DDGridLayout, I don't no if it is a good idea or the user should do it himself.