I Got it. 
You talked about generate heading in the past but can't figure how to send it. 
Now it's clear "<<hover your mouse inside the yellowish area of the collection, press ESC to invoke the menu, then select "generate heading">>.

Envoyé de mon iPhone

Le 2015-02-16 à 16:36, Chris Muller <asqueaker@gmail.com> a écrit :

Hi Raymond,

On Wed, Feb 4, 2015 at 12:42 PM, Raymond Asselin <jgr.asselin@me.com> wrote:
<SortedNotesExample.png>



Whoa!  That looks familiar!  :)

With Maui, you normallly don't need to do methods like #sortedNotes.  You can just have #notes in there like you do at the bottom (set its output resultView to #panel).  Then if you simply implement these methods on your Note class:

    mauiDefaultColumns
        ^ #(med date heures com)

and

    mauiSortableColumns
       ^ #(med date heures comString)

and

    comString
        ^ self com ifNil: [ String empty ]

Then, hover your mouse inside the yellowish area of the collection, press ESC to invoke the menu, then select "generate heading".

You will get proper headers for those columns with ascending / descending sort arrows for each column.  All for free from Maui.

HTH.

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners