Hi Alain, I agree that MorphTreeMorph is too complex. But, at the same time, it's pretty effective :)
Thierry ________________________________________ De : Pharo-users [pharo-users-boun...@lists.pharo.org] de la part de plantec [alain.plan...@yahoo.com] Date d'envoi : mardi 18 juin 2013 21:57 À : Any question about pharo is welcome Objet : Re: [Pharo-users] Tabular Data Viewer On 18 juin 2013, at 13:47, Igor Stasenko <siguc...@gmail.com> wrote: > On 17 June 2013 19:29, plantec <alain.plan...@yahoo.com> wrote: >> Hi Sven, >> This kind of widget is missing. >> Have a try with: >> SimpleGridExample new open >> It is implemented with MorphTreeMorph. >> It is far from the best solution since MorphTreeMorph a Tree/List >> widget but it should be ok if you have not too many data. >> Maybe the Glamour solution is based on it, I don't remember. > > Speaking about MorphTreeMorph: i find it really strange that it > supports grid layouts. it's not strange, it can do it out of the box because of the column management. So I think this feature do not add any complexity. But I agree, MorphTreeMorph is toooo complex. > When one entity has so many responsibilities/functionality, it is easy > to get lost there. > As a consequence: if there's a bug, it is really hard to fix it. yes, :) I know, MorphTreeMorph is a kind of hack and it should be remade as soon as possible. cheers Alain > > >> Cheers >> Alain >> >> >> On 17 juin 2013, at 16:17, Sven Van Caekenberghe <s...@stfx.eu> wrote: >> >>> Hi, >>> >>> Is there an easy way to view tabular data in Pharo, much like a spreadsheet >>> ? >>> >>> Ideally, something along the following lines >>> >>> MagicTableView new >>> headings: #( name age sex score ); >>> data: <some collection>; >>> open. >>> >>> Can spec be used for this ? >>> >>> Pointing me to some relevant example in the image is OK too ;-) >>> >>> Thx, >>> >>> Sven >>> >>> >>> -- >>> Sven Van Caekenberghe >>> http://stfx.eu >>> Smalltalk is the Red Pill >>> >>> >> >> >> >> >> > > > > -- > Best regards, > Igor Stasenko. >