gchatelet/GwtResizableDraggableColumns — pull request #8 by jeremydawson (2012-12-04 18:44:03+00:00)
Title: Bug with sortable columns

Fixed bug with dragging sortable columns. After a column was sorted, it could not be dragged to the right. It was possible to drag a column to the left of the sorted column; if the sorted column was subsequently dragged back to the left of the unsorted one, the sorted column would replace the unsorted column and there would be duplicate columns in the grid.

When the column is sorted, GWT inserts a div element into the table header, so getting the parent of the target element is not the table row. I simply changed the code that finds the table row to traverse the DOM until the parent tr is found.