Tuesday, May 29, 2012

Re: How to make CellTable Header always on top

I see the thread
https://groups.google.com/forum/?fromgroups#!topic/google-web-toolkit/PBhu6RtP4G8
and so I put the datagrid inside a scrollPanel (scrollPanel implements ProvidesResize) and I also set each column width (table.setColumnWidth(addressColumn, 7, Unit.EM);)
but still cannot show the datagrid, what happens?

On Wed, May 30, 2012 at 2:14 PM, Kei Kei <tong123123@gmail.com> wrote:
When I change my application from using CellTable to DataGrid, then nothing can be shown on the result page!!
then I try to test the example in
http://google-web-toolkit.googlecode.com/svn/javadoc/2.4/com/google/gwt/user/cellview/client/DataGrid.html
with just very minor modification (as attahced as DataGridExample.java, just don't impelement entrypoint and use onLoad),
the data grid cannot be seen also (DataGrid.jpg).
Then I try to replace the DataGrid with CellTable, then the CellTable can be shown!! (as in attached useCellTable.jpg)


So what is the problem?

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

No comments:

Post a Comment