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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment