Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drag column header, Then all data in this column should be dragged

 
Ganesh Kannusamy
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have a reporting solution, and in my ouput(view in Html ) page I need to add new features like, while dragging a column header to top, I want the all the data to be rearranged so that this(particular) column is on top(for all rows), and all other data are same...


When I Drag the column-header back, All the data should be rearranged to the original format.

NOTE: The output is displayed in the form of XML(XSL).

Pls help me solve the problem .

Thanks in advance,
Ganesh
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
NOTE: The output is displayed in the form of XML(XSL).


By this do you mean that you are sending the XML directly to the browser, or are you just using it to generate the HTML page?

Without an HTML page in which to put Javascript, you'd be out of luck.
 
Ganesh Kannusamy
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault,
Iam sending the XML directly to the browser, I think the javascript part can be added in the XSL file, but I want to find the javascript for dragging the column header and sorting the table according to that,

Thanks ,
Ganesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic