On Jul 21, 2008, at 6:04 AM, Ken wrote:

> Hello all, I have a very unique topic.  First I work for a guy who  
> doesnt know
> anything about web apps.  I need to render about 30,000 rows  
> without pagination
> into a scrollable table with sorting capabilities.  Right now it is  
> set up so
> that the browser (IE) does all of the work using xml.  What would  
> be my best way
> if I wanted to use hibernate(caching blah blah I got that taken  
> care of) and
> stripes (Streaming JSON or JavaScriptRes) back to the client so  
> that the list
> will be ready the fastest.  IE no pagination, this guy wants it  
> rendered fast,
> list must appear as quickly as possible and I want to use stripes.
> Any help appreciated.  Thx Ken.

You DO know you really don't want to do this, yes? How worthless 30K  
rows is to navigate, etc.

I would look around and see if you can find some Ajax table control  
that appreciates the ValueList pattern and will handle all of the  
necessary paging behind the sceens. I can't name one off the top of  
my head, but what you don't want is basically a huge table in a DIV  
with scroll bar. That's just not going to work. You want something  
that's completely lazy loading, basically a fixed table of rows and  
an independent scroll bar that you can monitor the up/down, pageup/ 
pagedown, and thumb events. That's what you want.

Wait, no, that's not what you want. What you want is to never display  
30000 rows. But, barring that, then you need that kind of table control.

Regards,

Will Hartung


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to