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
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. 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
Hey Alain, Thanks for the pointer, that example works OK, though I don't need the editing, but I guess that could be done as well. It is good to know that this is standard. But for now I am going to try using Glamour. Sven On 17 Jun 2013, at 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. 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
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. 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.
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.
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. 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.
I agree and I would prefer to have a gridMorph Stef
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.
Hi Alain, I agree that MorphTreeMorph is too complex. But, at the same time, it's pretty effective :) Thierry ________________________________________ De : Pharo-users [pharo-users-bounces@lists.pharo.org] de la part de plantec [alain.plantec@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 <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.
http://stackoverflow.com/questions/4674116/are-there-any-open-source-spreads... El 17/06/2013 11:17, Sven Van Caekenberghe escribió:
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
.
On 19 Jun 2013, at 02:26, Hernán Morales Durand <hernan.morales@gmail.com> wrote:
http://stackoverflow.com/questions/4674116/are-there-any-open-source-spreads...
Thanks Hernán, that looks quite good as well - but I am good for now.
El 17/06/2013 11:17, Sven Van Caekenberghe escribió:
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
.
participants (6)
-
GOUBIER Thierry -
Hernán Morales Durand -
Igor Stasenko -
plantec -
Stéphane Ducasse -
Sven Van Caekenberghe