cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gou...@osmosis.gr
Subject Re: Sorting html tables dynamically
Date Thu, 05 Aug 2004 06:43:35 GMT
On Wed, 4 Aug 2004, Anna Bikkina wrote:

> I am developing a server that displays historical information of a set of 
> activities.Sometimes for a particular day the no of rows would be 9000. They 
> are obtained from a database using a stored procedure which I call in my xsp 
> and converted to html using xsl. They is no hard requirement that they have 
> to be displayed all at once but then we have been doing it for a long time. 
> Now the clients come up with this requirement of sorting...
> 
> Anna.

when i have to get sorted data i sort them in sql query so data in 
produced xml are already in order i want. its must faster to ask your 
database to sort your data rather xsl or a client side aproach.


-- stavros


> 
> 
> On Wednesday 04 August 2004 02:07 pm, gounis@osmosis.gr wrote:
> > On Wed, 4 Aug 2004, Anna Bikkina wrote:
> > > Thank you for the responses. Brainjar's script might not work for me. I
> > > have 1000's of rows in my table. Typically there are around 9000 rows
> > > this might not work for me.
> > >
> > > Anna.
> >
> > hi anna
> >
> > can i ask you how do you produce this amount of rows ?
> > and why do you want o display all at once ?
> >
> >
> > -- stavros
> >
> > > On Wednesday 04 August 2004 07:07 am, FREDERIC MOSER wrote:
> > > > > > Client side table sorting using javascript (like
> > > > > > http://brainjar.com/dhtml/tablesort/) is a really cool concept
> > > > >
> > > > > but if
> > > > >
> > > > > > you have a lot of rows, your browser might get very slow and
crash.
> > > > >
> > > > > yes thats true, but in most cases so many rows that can crash or
> > > > > slowdown
> > > > > browser its not a good idea to be displayed to the user too.
> > > > >
> > > > > i have no problem sorting some hundred rows (in IE).
> > > > >
> > > > > -- stavros
> > > >
> > > > I must admit I used brainjar's script pretty much "out of the box".
> > > > I never succeed sorting hundred of rows with a reasonable speed
> > > > (depends on what you're sorting of course...). But I still like the
> > > > idea a lot so I would be curious to see how you're doing it.
> > > >
> > > > Thanks in advance,
> > > >
> > > > Fred
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > > For additional commands, e-mail: users-help@cocoon.apache.org
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > > For additional commands, e-mail: users-help@cocoon.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message