[Pharo-dev] Two tables that share the same data source!?
alex.syrel at gmail.com
Mon Aug 7 20:19:44 EDT 2017
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...
On 8 August 2017 at 02:16, Aliaksei Syrel <alex.syrel at gmail.com> wrote:
> 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...
> On 8 August 2017 at 01:36, Elhamer <abdelkhalekdev at 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
>> it harder to extend.
>> I've tried to go down the rabbit hole and decouple the data source from
>> 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 ?
>> View this message in context: http://forum.world.st/Two-tabl
>> Sent from the Pharo Smalltalk Developers mailing list archive at
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Pharo-dev