How to use header row in GWT's Grid or FlexTable and freeze that row

360 views
Skip to first unread message

Ganesh

unread,
Apr 12, 2007, 4:29:57 AM4/12/07
to Google Web Toolkit
Hello Everybody

I am creating an application in GWT and needs to show a table/grid in
which header row is freezed. I have googled it also but not able to
perform the same. One option i got on the net is use two different
tables one for header row and one for actual data and use scroll only
in second table. I am agree that it will looks what we want but it is
not a proper solution and i strongly beleive that there should be some
better way of doing the same.

Any help/suggestion will be highly appreciated.

Regards,

Ganesh

OlivierMatt

unread,
Apr 12, 2007, 4:40:30 AM4/12/07
to Google Web Toolkit
Hi Ganesh,

What do you mean by "freezed" header row?

Ganesh

unread,
Apr 12, 2007, 5:34:53 AM4/12/07
to Google Web Toolkit
Hello Matt

By the freezed header row, i mean when i m scrolling in the table,
header should not scroll above and should be visible all the time.
This is same as we can do in MS-Excel by freezing Some rows in top and
than those rows got freezed and don't while scroll when we scroll the
sheet.

I think it will clear my intention from header row, but if u need some
more clarification, please let me know.


Thanks
Ganesh

Reinier Zwitserloot

unread,
Apr 12, 2007, 11:00:14 AM4/12/07
to Google Web Toolkit
look at the table from:

http://zwitserloot.com/tipit-gwtlib/example (open the wizard, check
out the frozen headers, then download source and use).

Reply all
Reply to author
Forward
0 new messages