Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs







Recent posts

Fri 29 May 2020

Round tripping, even while staying put



Tue 19 May 2020

An unladen user



Thu 7 May 2020

Can we get a huzzah for updated Domino Limits?


July, 2020
SMTWTFS
   01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31

Search the weblog





























Genii Weblog

What says "Sort me!" to you?

Thu 4 Nov 2004, 01:55 PM



by Ben Langhinrichs
One of our oldest and most popular on-line samples for the Midas Rich Text LSX is called Walden (Dynamic Table Manipulation).  Go ahead and try it if you like.  In any case, while it is popular, the interface reflects my UI deficiencies, I'm afraid, and I wanted to clean it up a bit.  The easiest part to do and the hardest part to communicate in this demo is the sorting of the columns.  How do you get people to realize that they can sort the columns?  There are a number of ways, but there is an unusual twist in that this must be obviously a rich text table.  The current samples has an interface that looks like this:

Inline JPEG image

If you click on the arrows, that sorts the particular column in either ascending or descending order.  Some other choices might be the Notes view approach:

Inline JPEG image

which doesn't look bad when not sorted by this column, but looks sort of cheesy when sorted by this column:

Inline JPEG image

Some other options don't specify the direction:

Inline JPEG image

or

Inline JPEG image

but how do you let the users know that they can sort either ascending or descending?  I could add code so that the button recognized whether it was currently sorted in ascending or descending order and switch, which would be good for the user but bad for demonstrating how simple the code is for doing a table sort:

Sub SortTable(rtTable As GeniiRTChunk, sort_column As Integer, SortNumeric, SortReverse)
   Call rtTable.SortByRow(sort_column, True, SortNumeric, SortReverse)
End Sub

So, what should I use?  Should I stick with the arrows?  Am I focusing on the wrong issues entirely?  Are there other things I could do to the demo to make it more clear what was possible with Midas, or is it fairly clear?  I'd certainly appreciate any feedback.

Copyright 2004 Genii Software Ltd.

What has been said:


226.1. Graham Richards
(11/05/2004 09:26 AM)

Ben, if I was in your shoes, I'd keep the interface exactly like the Notes View sort options...users are familiar with them, and should recognize them automatically.