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

Is there a need to sort columns by clicking on headers?

 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see that a lot of people didn't score perfect on GUI, would adding sort columns by clicking on headers earn me more points? I find this to be a very common practice on most tables.
 
Yupp Cook
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Couln't see anything like this in my spec(BS_2.1.2).
My records appear always in the order of recNo.
I think you don't get credit implementing a sorting mechanism.

Y.
 
Jason Moors
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not sure if it will get you more marks? My approach so far has to keep it simple and only implement the requirements.

I think it's probably worth spending the time making sure that you've satisfied the UI requirements and have created a framework that will support future enhancement to the GUI.

Saying that I think there is possible justification for providing the functionality, as Row Sorting is mentioned in the Java Look and Feel Guidelines.

Java Look and Feel Guidelines

I guess if you think it's not much effort and you can implement in a way that your not going to lose mark then do it.

Jason.
[ March 26, 2006: Message edited by: Jason Moors ]
 
Kristof Janssens
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've added it in my application, still waiting for the score so I can't tell you my GUI score.
But I can tell you it's quite simple to implement. The only problem is the arrow symbol that shows in which order the table is sorted. You can paint it yourself (with awt)or use an external image or you can keep it really simple like me:
add \/ or /\ depending on the sorting order.
I'm quit happy with it and it was really easy to make.
[ March 29, 2006: Message edited by: Kristof Janssens ]
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I found that it's not hard to implement, however I don't have the triangle indicators.
 
Kristof Janssens
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well, you can do it like I said I did it:
use slashes ( \/ and /\ )

It isn't the best solution but it's clean, easy and you see that something happened.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic