well i've done that with a round trip if that's what u mean.
the column header just posts the sort information to the server page which modifies the SQL query to contain the correct "ORDER BY" clause then the rest of the server side code is the same causing the page to be built with the new ordered rows.
instead of hitting the db all the time, you can actually use your transform script to insert the column/node you want to sort by as a parameter into the xslt script.
usign some xslt wizardy (actually, xsl:sort) you can then sort on this node. It works for numbers too, u just have to specify this.
I dont have any examples, but trust me it works cause i've done it before.
I'll be happy to try give some examples if you're interested in doing it this way.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.