looking for table morph

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

looking for table morph

Martin Kuball
Hi!

Is there a ready to use table morph available? Something you can
instantiate and add a 2-dimensional array of strings and be done.
Of cause user-resizable columns, sorting and in-place editing would
come in handy.

Martin

Reply | Threaded
Open this post in threaded view
|

Re: looking for table morph

Michael van der Gulik
Martin Kuball wrote:
> Hi!
>
> Is there a ready to use table morph available? Something you can
> instantiate and add a 2-dimensional array of strings and be done.
> Of cause user-resizable columns, sorting and in-place editing would
> come in handy.

I started a project to do this, and I plan to work on it more at some
stage. I'm at the stage where I need working widgets, which would
involve scrummaging though other people's old code to find some.

Current code is called "Tables" on SqueakSource, take it and run but
don't expect much to work :-(. Currently it is also strictly Morphic-only.

http://www.squeaksource.com/@eYSeUWimSCrkMSOm/mkbHmKeQ

Example code is as follows:

t := ToDoList new. "ToDoList is a Table model"
t add: (ToDoListItem new).
t add: (ToDoListItem new).
t asMorph openInWindow.

Your comments / patches are more than welcome.

Michael.