On 18 juin 2013, at 13:47, Igor Stasenko <siguctua@gmail.com> wrote:
On 17 June 2013 19:29, plantec <alain.plantec@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 <sven@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.