Re: Grid (Sluggish Load)

2009-12-21 Thread Vince
Thank you for the feedbacks, Thomas and Trevor... I'm looking into the
possible solutions now. Appreciate it...


On Dec 4, 9:20 am, Trevor Skaife tska...@gmail.com wrote:
 Another thing you can do is not attach the grid to the page until it
 is fully loaded, the dom operations are faster when the table isn't
 displayed on the screen. But pagination would be very helpful as well.

 On Dec 3, 2:09 pm, Thomas Matthijs thomas.matth...@gmail.com wrote:



  On Thu, Dec 3, 2009 at 21:05, Vince vicenci...@aol.com wrote:
   Hello,

   I have a regular Grid implementation with 5 columns that loads in 300
   records within a DialogBox. Everything is fine until the actual return
   off of a Callback that handles the feedback from a data extraction
   routine intended to populate the Grid.

   Problem : The Grid seems to take an awfully long time to load the
   data (simple Strings) to a full 300 rows.

  Dom operations are slow, you need to minimise these, there are some
  widgets in the incubator (which might need modifications to get them
  to work on recent gwt version)
  that should be faster
  Seehttp://code.google.com/docreader/#p=google-web-toolkit-incubators=go...-
   Hide quoted text -

 - Show quoted text -

--

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.




Re: Grid (Sluggish Load)

2009-12-04 Thread Trevor Skaife
Another thing you can do is not attach the grid to the page until it
is fully loaded, the dom operations are faster when the table isn't
displayed on the screen. But pagination would be very helpful as well.

On Dec 3, 2:09 pm, Thomas Matthijs thomas.matth...@gmail.com wrote:
 On Thu, Dec 3, 2009 at 21:05, Vince vicenci...@aol.com wrote:
  Hello,

  I have a regular Grid implementation with 5 columns that loads in 300
  records within a DialogBox. Everything is fine until the actual return
  off of a Callback that handles the feedback from a data extraction
  routine intended to populate the Grid.

  Problem : The Grid seems to take an awfully long time to load the
  data (simple Strings) to a full 300 rows.

 Dom operations are slow, you need to minimise these, there are some
 widgets in the incubator (which might need modifications to get them
 to work on recent gwt version)
 that should be faster
 Seehttp://code.google.com/docreader/#p=google-web-toolkit-incubators=go...

--

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.




Grid (Sluggish Load)

2009-12-03 Thread Vince
Hello,

I have a regular Grid implementation with 5 columns that loads in 300
records within a DialogBox. Everything is fine until the actual return
off of a Callback that handles the feedback from a data extraction
routine intended to populate the Grid.

Problem : The Grid seems to take an awfully long time to load the
data (simple Strings) to a full 300 rows.

Possible Solutions :

1. One solution I am considering is pagination of the data. 100
records seems to register a descent enough load time and do paging for
the next set of hundred records. Anything over that seems to take the
process down.

2. Another is the caching of the actual dialog box for succeeding use.
The problem I see here is a refresh process (but this is another
story).

QUESTIONS :

1. Can anybody please share their point of view onto why the slow down
is happening. I didn't quite expect this given the data to be just a
set of String values.

2. I'm using a loop and going through each cell to set content in...
Am I missing something in terms of how a proper way of loading a Grid
is concerned?

Thanks,
Vince

--

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.




Re: Grid (Sluggish Load)

2009-12-03 Thread Thomas Matthijs
On Thu, Dec 3, 2009 at 21:05, Vince vicenci...@aol.com wrote:
 Hello,

 I have a regular Grid implementation with 5 columns that loads in 300
 records within a DialogBox. Everything is fine until the actual return
 off of a Callback that handles the feedback from a data extraction
 routine intended to populate the Grid.

 Problem : The Grid seems to take an awfully long time to load the
 data (simple Strings) to a full 300 rows.

Dom operations are slow, you need to minimise these, there are some
widgets in the incubator (which might need modifications to get them
to work on recent gwt version)
that should be faster
See 
http://code.google.com/docreader/#p=google-web-toolkit-incubators=google-web-toolkit-incubatort=BulkTableRenderers

--

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.