• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in Table sorting using javascript

 
shalini vinay
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI All,

I want to sort the values in my table in ascending and descending alternatively. I have searched in many sites they given table sorting by clicking table header it changes all the column values dynamically. But i need my particular column values only should change without affecting my other column values. is it possible to do using javascript since i am very new to javascript.

Thanks in Advance
Shalini
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

So you've found examples that sort all columns when a single column header is clicked - surely it can't be hard to change that to only sort a single column? Or am I misunderstanding what you're asking?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic