Hi,
That's actually the default behavior, but I see there is also a bug.
Normally if you want to allow deselection in a presentation you should use allowDeselection. Just I see there is a bug in the fast table renderer because if I add #allowDeselection to the first presentation when clicking again on the selected element the selection port is not cleared. If you use #list instead of #fastList it works.
I think you can get the desired behaviur using this code:
-----------------------------------------------------------------
tabulator := GLMTabulator new.
tabulator column: #one; column: #two; column: #three.
tabulator transmit to: #one; andShow: [ :composite |
composite list��
allowDeselection;
display: [ :x | Array with: x ] ].
tabulator transmit to: #two; andShow: [ :composite |
composite list
allowDeselection;
display: [ :x | Array with: 2 * x ] ].
tabulator transmit��
from: #one; to: #three;
from: #two; to: #three;
transformed: [ :x :y | y ifNil: [ x ] ifNotNil: [ y ] ];
andShow: [ :a |��
a fastList display: [ :x | Array with: x ] ].
tabulator openOn: 4.
-----------------------------------------------------------------
Cheers,
Andrei