Dragging a table row containing a component

Hey everyone,

I have this table (see the attachment) with TableDragMode.ROW but, when the click source is the panel, the drag event don’t work. How can i fix that?

Thank You,



seems to me that the client-side of Table component is not able to find the row when your click is on a Panel/Layout. If you want, you could file an enhancement ticket about this to the Vaadin Trac. I can’t see an easy way to get around this either.

In the meantime, Labels seem to work just fine with the row dragging, so if you don’t need much else in the panel than what is you could just use a Label in HTML mode and use appropriate styles within its content to get the different rows styled as you want.