[Seaside-dev] Issue 15 in seaside: Memory tool mis-sorts total size
codesite-noreply at google.com
codesite-noreply at google.com
Tue Mar 4 06:59:06 UTC 2008
Issue 15: Memory tool mis-sorts total size
http://code.google.com/p/seaside/issues/detail?id=15
Comment #3 by snoob... at yahoo.ie:
Hi
To make it clear, the code below works on my system and is probably the intended
usage of formatBlock:.
WAMemory>>buildTable
^ WATableReport new
rowPeriod: 1;
rowColors: #( 'lightgrey' 'white' );
rows: sizes keys asSortedCollection;
columns: (Array
with: (WAReportColumn selector: #yourself title: 'Class')
with: (WAReportColumn new
title: 'Instances';
valueBlock: [ :each | instances at: each ];
yourself)
with: (WAReportColumn new
title: 'Total Size';
valueBlock: [ :each | sizes at: each ];
formatBlock: [ :each | each asStringWithCommas.]
yourself));
yourself
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
More information about the seaside-dev
mailing list