Monday, April 29, 2013

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

Hi, I think you should try this while instantiating the Cell table 

timeEntryTable = new CellTable<TimeEntry>(pageSize,
CellTableResource.INSTANCE); 

Please let me know, once you try this out.

Regards,
Kartik


I think you

On Monday, 29 April 2013 01:20:53 UTC+5:30, Guy Paddock wrote:
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.
 
 

No comments:

Post a Comment