- Then I miss an important design point. Why datasource returns Morph?
Do you mean from #cellColumn:row: ?

- I do not get why a data source should return UI element. To me it violates 
layers.
The datasource is a wrapper/binding between the real object and the view 
(table/list) and provides the necessary stuff for display and interaction 
between them. Returning custom UI elements (cells and rows) from the datasource 
is part of what makes it possible to reuse the same table/container morph for 
lists/tables/trees. 

Best regards.
Henrik

-----Original Message-----
From: Pharo-dev [mailto:pharo-dev-boun...@lists.pharo.org] On Behalf Of stepharo
Sent: Monday, November 28, 2016 9:32 PM
To: pharo-dev@lists.pharo.org
Subject: [Pharo-dev] two question about fasttable

Hi

- Could we rename FastTable into Table?

- Then I miss an important design point. Why datasource returns Morph?
I do not get get why a data source should return UI element. To me it violates 
layers.

Stef



--
Using Opera's mail client: http://www.opera.com/mail/


Reply via email to