?
Solved

Sorting a table using XSL and javascript

Posted on 2003-03-02
4
Medium Priority
?
1,185 Views
Last Modified: 2011-09-20
I would like to be able to create a table using XSL.  

When the using clicks on header link I would like the table to be resorted in a accending order.  All of this needs to be done with javascript so the user does not have to re-post the page.

Is there a way to do this by chnaging the sort order on XSL.  If so how?
0
Comment
Question by:makman111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 1

Accepted Solution

by:
jmeree earned 400 total points
ID: 8053914
Look at
http://www.sys-con.com/xml/archivesa.cfm?volume=03&Issue=05 

It's the article called "Create Sortable HTML Tables Using XSLT (Sean McMullan)".  You have to register to download the code.
0
 
LVL 1

Expert Comment

by:jmeree
ID: 8053921
PS I recommend you register, the code that's embedded in the article has a lot of whitespace errors in it.   If you register, you can download the javascript in a zip file.
0
 

Author Comment

by:makman111
ID: 8054173
Didn't need to register to get the source
0
 
LVL 1

Expert Comment

by:jmeree
ID: 8054339
Can we have a discussion about this technology offline?  (jmeree1@hotmail.com)
0

Featured Post

The Orion Papers

Are you interested in becoming an AWS Certified Solutions Architect?

Discover a new interactive way of training for the exam.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Client Need Led Us to RSS I recently had an investment company ask me how they might notify their constituents about their newsworthy publications.  Probably you would think "Facebook" or "Twitter" but this is an interesting client.  Their cons…
Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question