The simplest thing (keeping you original idea) is to use a flextable
for the header and a flextable (with no header) for the content.
See for example http://gwt.google.com/samples/Mail/Mail.html
Code
http://code.google.com/p/google-web-toolkit/source/browse/tags/2.1.1/samples/mail/src/com/google/gwt/sample/mail/client/MailList.ui.xml?r=9478
Maybe you can even still use one flextable and play around with fixed
positioning of the first row, but its hacky.

But it's a dummy example, if you need to interact or simply manage
displayed content (paging/caching/...) i suggest to use a different
widget, like
CellTable (http://gwt.google.com/samples/Showcase/Showcase.html#!
CwCellTable)
or
PagingScrollTable from the incubator suite (http://
collectionofdemos.appspot.com/demo/
com.google.gwt.gen2.demo.scrolltable.PagingScrollTableDemo/
PagingScrollTableDemo.html)

The latter will be supressed in a future release of gwt, so keep it in
mind.

ciosbel.
On 22 Dic, 22:56, Sunit Katkar <[email protected]> wrote:
> I have a flextable. Its inside a scrollpanel because the number of rows is
> more than what can be shown at a time. So user has to scroll up and down to
> view all contents.
>
> Now is there a way where I can keep the header row locked in its original
> position while rest of the rows are scrolled up and down?
>
> I have seen such tables with some javascript widgets, and I think in
> SmartGWT too. However, I want to do this with  GWT.
>
> Is it possible? Any hints?
>
> - Sunit Katkarhttp://sunitkatkar.blogspot.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to