You will need to do the rowsize calculation initially from a deferred
command to
give the table the time to initially render. Calculating the actual
number of
rows isnt easy and infact is impossible is there is any kind of text
wrapping
happening within cells.

On Nov 23, 8:48 am, Valeri <valeri.anto...@gmail.com> wrote:
> Well, when we creating CellTable, one parameter is pageSize. I guess,
> the most common scenario for CellTable is to have enough rows to fill
> the entire container - not more, not less, and to change page size on
> resizing (in a SplitLayoutPanel, for example). Or, better, to share
> layout height with Pager
>
> It seems, that I have to calculate the number of rows by myself (not
> very cool). And for me the right moment to get widget height is not
> clear (really, I always retrieve 0 from getBodyHeight())
>
> Can anyone say, what is "recommended" way to calculate the right
> number of rows? Table with fixed page size is just ugly

-- 
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-tool...@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