• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic