On Fri, Jun 14, 2013 at 11:42 AM, Jens <
jens.ne...@gmail.com> wrote:
> Well, add a scroll handler to the right ScrollPanel and set the current
> scroll position on the left ScrollPanel.
Hi Jens,
thanks for that :) It worked the way you described it. With one tiny
caveat. DataGrids don't export their ScrollPanel (Maybe I got you
wrong).
I simply extended an original DataGrid and exposed their ScrollPanel like so:
public ScrollPanel getScrollPanel() {
HeaderPanel header = (HeaderPanel) getWidget();
return (ScrollPanel) header.getContentWidget();
}
This made syncing the scrolling positions of my two DataGrids quite
simple and I know have one fixed column in my datagrid.
Thanks for your help!
Best,
Raphael