Wednesday, May 29, 2013

Re: Fixing a column in DataGrid

Before deep diving into DataGrid, I think my first "make it work" approach would be to just use two DataGrids and add both to the same DataProvider, so that their data is in sync with each other. The first one would contain the static x columns while the second one contains the remaining columns. Only the second one would allow horizontal scrolling then.

Do you also use vertical scrolling in your DataGrid? If not, then I would try to add position:fixed to each cell of the first x columns. With position:fixed you probably would not need to recalculate anything while scrolling horizontally.

-- J.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment