[Seaside] TableReport and sortBlock
Hilaire
hilaire at drgeo.eu
Wed Jun 3 13:00:11 UTC 2015
Hello,
I have a hard time to use the sortBlock: option with TableRerport.
Nothing happens when clicking on the column title.
I am using like this:
(table := reports add: WATableReport new)
rows: self amounts;
columns: (OrderedCollection new
add: ((WAReportColumn selector: #amount title: 'Montant')
sortBlock: [:d1 :d2 | d1 amount >= d2 amount]);
yourself.
[..]
Moreover, if I had a halt in the sortBlock, it looks like the sort block
is never executed.
Do I miss something?
Thanks
Hilaire
--
Dr. Geo
http://drgeo.eu
http://google.com/+DrgeoEu
More information about the seaside
mailing list