[squeak-dev] table widget

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

[squeak-dev] table widget

Tudor Girba-3
Hi,

Is there a table widget in Morphic/Polymorph?

Carlos Crosetti pointed me to SGrid:
http://www.squeaksource.com/SGrid.html

Is there another one?

I am looking for features like:
- add columns
- sort the rows based on a column
- select a row

Cheers,
Doru


--
www.tudorgirba.com

"What we can governs what we wish."




cbc
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] table widget

cbc
On Tue, Aug 4, 2009 at 7:51 AM, Tudor Girba <[hidden email]> wrote:
>
> Is there a table widget in Morphic/Polymorph?

...
>
> I am looking for features like:
> - add columns
> - sort the rows based on a column
> - select a row

Well, there is a table morph that I created for my purposes.  It does
a lot of things (multi column sort, column hiding, row selection,
filtering on value and subfiltering, relatively fast).  It does not
actually allow for adding columns - but you could add all of the
columns beforehand and hide the ones you don't want, and then reveal
them to simulate adding columns.  (Of course, not really adding
columns.)
This is for viewing purposes only.  The additional tools are very
rough (i.e, not pretty), and the code isn't necessarily pretty,
either.  However, it is fairly fast (I often use it for viewing
1,000's or even 10,000's of rows).
Find it at:
http://www.squeaksource.com/MutliColumnListMorph
(load lastest MultiColumn Lists, Sort Blocks, and stream enhancements)

For an example of using it, you can load:
http://www.squeaksource.com/CSVData
To see the example, evaluate:
(CSVData fromFileNamed: 'someCSVfile.csv') browse

-Chris

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] table widget

Tudor Girba-3
Hi Chris,

Thanks for the info. I noticed that no license is mentioned on:
http://www.squeaksource.com/MutliColumnListMorph.html

Is the code actually free?

Cheers,
Doru




On 5 Aug 2009, at 05:17, Chris Cunningham wrote:

> On Tue, Aug 4, 2009 at 7:51 AM, Tudor Girba <[hidden email]>  
> wrote:
>>
>> Is there a table widget in Morphic/Polymorph?
>
> ...
>>
>> I am looking for features like:
>> - add columns
>> - sort the rows based on a column
>> - select a row
>
> Well, there is a table morph that I created for my purposes.  It does
> a lot of things (multi column sort, column hiding, row selection,
> filtering on value and subfiltering, relatively fast).  It does not
> actually allow for adding columns - but you could add all of the
> columns beforehand and hide the ones you don't want, and then reveal
> them to simulate adding columns.  (Of course, not really adding
> columns.)
> This is for viewing purposes only.  The additional tools are very
> rough (i.e, not pretty), and the code isn't necessarily pretty,
> either.  However, it is fairly fast (I often use it for viewing
> 1,000's or even 10,000's of rows).
> Find it at:
> http://www.squeaksource.com/MutliColumnListMorph
> (load lastest MultiColumn Lists, Sort Blocks, and stream enhancements)
>
> For an example of using it, you can load:
> http://www.squeaksource.com/CSVData
> To see the example, evaluate:
> (CSVData fromFileNamed: 'someCSVfile.csv') browse
>
> -Chris
>
>

--
www.tudorgirba.com

"It's not how it is, it is how we see it."


cbc
Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] table widget

cbc
On Wed, Aug 5, 2009 at 2:39 PM, Tudor Girba<[hidden email]> wrote:
>
> Thanks for the info. I noticed that no license is mentioned on:
> http://www.squeaksource.com/MutliColumnListMorph.html
>
> Is the code actually free?
Yes, I'm not sure if there was a license option when I originally set
it up (if there was, I missed it).  I have updated the license to MIT,
and I am the only author so far.  I also opened it up for global
write.

-Chris