[Seaside] Does anyone want WATableSelectable

Ron Teitelbaum Ron at USMedRec.com
Wed Oct 25 17:12:56 UTC 2006


Hi all,

 

I finished my WATableSelectable.  Thank you to everyone with suggestions and
contributions!

 

Does anyone want it?  How are we going about submitting things for
inclusion?  

 

Here are the class comments: 

 

WATableSelectable creates a table from #rows: of objects by performing
column method.  

set column selectors with #columns: using WAReportColumn class>>selector:
(see WAReportColumn for more options)

 

A header is created from labelForSelector: on anObject in rows by passing in
each selector in columns.

 

The table will automatically highlight each row on mouse over with
#highlightColor: 

The table will automatically highlight selected row with: #selectedColor: 

The table will alternate background color of rows by #rowColors 

the table will highlight n number of rows with same color before changing by
#rowPeriod 

 

The table will allow multiple selection of rows with: #becomeMultiSelect

 

selectedRows can be retrieved by #selectedRows  if single select then this
collection will only hold one item.

 

 

Ron Teitelbaum

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20061025/251e7cd3/attachment.htm


More information about the Seaside mailing list