I tried to use DataGrid and put it in the stacklayoutpanel.At the time when 
I provide the data for the ListDataProvider, the CellTable is not visible 
in the browser because it's on a non active tab (although it's visible in 
the DOM tree). After switching to the tab containing the CellTable there is 
no data in it. If the tab is active at time of data provisioning the table 
is filled correctly. Since I have made a column sortable, if I clicked the 
sorting, the data would be displayed correctly. I want the data to be 
displayed automatically when I click the other inative tab. This will not 
be the problem if I switch to use celltable.

I knew this was the bug in GWT and it is fixed in GWT 2.5 RC. But my boss 
does not want me to use GWT2.5RC yet. I have to workaround to fix this. I 
knew that someone said datagrid.redraw() could sort of fix it. I tired it, 
but the display is weird. For example, I have 10 rows in DataGrid, after 
selecting the 2nd tab, redraw() is called, the data is automatically 
displayed, but there is only like 10px of block displaying the data and the 
scroll bar. I have to scroll down to see other rows. There are lots of 
space in the bottom of the tab not being used. Could anyone tell me how to 
fix this? So did I use the wrong way to fix it? is there anything else I 
can do to fix this problem. Could anyone give me some tips please. 

Thanks

Best Regards

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

Reply via email to