diff --git a/src/fr/mikrosimage/gwt/client/ResizableHeader.java b/src/fr/mikrosimage/gwt/client/ResizableHeader.java index 3f7332e..b158c63 100644 --- a/src/fr/mikrosimage/gwt/client/ResizableHeader.java +++ b/src/fr/mikrosimage/gwt/client/ResizableHeader.java @@ -251,7 +251,10 @@ private ColumnMoverHelper(IDragCallback dragCallback, Element target, NativeEven this.dragCallback = dragCallback; final int clientX = event.getClientX(); columnWidth = target.getOffsetWidth(); - final Element tr = target.getParentElement(); + Element tr = target.getParentElement(); + while (!tr.getNodeName().equals("TR")) { + tr = tr.getParentElement(); + } final int columns = tr.getChildCount(); columnXPositions = new int[columns + 1]; columnXPositions[0] = tr.getAbsoluteLeft();