This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Ranch Office and the fly likes Sorting Posts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » This Site » Ranch Office
Bookmark "Sorting Posts" Watch "Sorting Posts" New topic
Author

Sorting Posts

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10733
    
    9

Is there any way I can sort the posts? Typically I am more interested in posts which have 0 replies, and sorting would surely help me find them more easily.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32301
    
213

Nope. Sorry.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10733
    
    9

Can I try my hand at a Greasemonkey script which will do the sorting stuff and submit it to the code barn? That way, other users, who are interested in the sorting feature like me, can use it if required. (Will need Firefox of course)
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Sure, we'd be happy to put it up.
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10733
    
    9

I had to open my big mouth.
Since I am personally "script challenged" I had to ask google. Found something which looks interesting.
Downloaded it, built my own dummy HTML table and it works fine.
So far so good.
Saved a ranch page for testing and found to my horror:
1) The "table" component in this page doesnt have a name/id
2) I cannot figure out how to make the table class="sortable"

Its back to school time for me !
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42956
    
  73
Maneesh, please check your private messages.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Sorting Posts
 
It's not a secret anymore!