Forums Register Login

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

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
Yes, I found that it's not hard to implement, however I don't have the triangle indicators.
+Pie Number of slices to send: Send
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.
Any sufficiently advanced technology will be used as a cat toy. And this tiny ad contains a very small cat:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 800 times.
Similar Threads
Sorting of Table
idea on how to sort a jtable header with 2 labels
Sorting the fields of a table
sorting multiple columns
Sorting of Table
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 08:44:55.