Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Timer Stopped while rendering table on screen

 
Charan kumar sarvepalli
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,

I have timer which runs time with seconds on the screen I am rendering a flextable which is having more than 200 rows while it started rendering the table on screen, the timer has been stopped for that many seconds.

For example when table took 3 secs to render now timer is 3 secs behind the current time secs, i visted this view 10 times means 10*3 = 30 secs behind the current time.

can anyone give me idea what is making issue here to hang the scrpt which is already running on browser.

Thanks in advance...
 
Maneesh Godbole
Saloon Keeper
Posts: 11021
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a threading issue. Are you using the built in Timer class?
 
Charan kumar sarvepalli
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes i am using the GWT client timer only. com.google.gwt.user.client.Timer
 
Gihan Pandigamage
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


You can use this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic