Monday, April 29, 2013

Re: CellTable created in onModuleLoad() doesn't draw until mouse moves over the browser window

In which browsers?


2013/4/28 Guy Paddock <guy.paddock@gmail.com>
Hey all,

I'm working with some code that was modeled after the StockWatch sample for JSONP. A key difference between that code and mine is that the JSON data is loaded immediately on module load rather than on a button click.

I'm finding that my CellTable doesn't render completely until I move the mouse over the page. A workaround is to schedule a timer for 100 milliseconds after the table is added to the page that just calls redraw() on the table, but this seems like a hack.

Anyone know why the table demonstrates this behavior?

The code is attached.

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

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

No comments:

Post a Comment