Hello Elhamer,Do you have an idea when it might be useful to have two lists representing the same datasource?We have this feature in bloc (see video in attachment) but I didn't encounter a real-life use-case yet...Cheers,AlexOn 8 August 2017 at 01:36, Elhamer <abdelkhalekdev@gmail.com> wrote:Hello everybody,
How common is it for multiple tables (FastTables) to have the same
datasource ?
The FTDataSource has a instance variable to refer a table:
````
Object subclass: #FTDataSource
�� �� �� �� instanceVariableNames: 'table'
�� �� �� �� classVariableNames: ''
�� �� �� �� package: 'Morphic-Widgets-FastTable-DataSource'
```
which makes it impossible for several tables to have the same data source.
the code of the data source is also coupled to the ft code which also makes
it harder to extend.
I've tried to go down the rabbit hole and decouple the data source from the
table but things went messy. So i would like to know how common it is for
several tables to share the same ds, and does that worth going the extra
mile ?
Thanks,
Elhamer.
--
View this message in context: http://forum.world.st/Two-tables-that-share-the-same-data- source-tp4959153.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.