[Pharo-dev] Spec table problem

Benjamin Benjamin.VanRyseghem.Pharo at gmail.com
Tue Dec 3 05:07:28 EST 2013


Fix proposed in 12323

Thanks to report :)
Ben

On 03 Dec 2013, at 10:21, Clément Bera <bera.clement at gmail.com> wrote:

> This example I used to have does not work any more in the latest Pharo 3:
> 
> tree := TreeModel new.
> tree openWithSpec.
> 
> tree columns: (Array 
> 	with: (TreeColumnModel new displayBlock: [:node | node content first asString ]; headerLabel: 'Name'; yourself)
> 	with: (TreeColumnModel new displayBlock: [:node | node content second asString ]; headerLabel: 'Last Name'; yourself)
> 	with: (TreeColumnModel new displayBlock: [:node | node content third asString ]; headerLabel: 'Age'; yourself)
> 	with: (TreeColumnModel new displayBlock: [:node | node content fourth asString ]; headerLabel: 'Gender'; yourself)).
> 	
> tree roots: {
> 	{'Benjamin'.'Van Ryseghem'.'26'.'M'} .
> 	{'Pamela'.'Anderson'.'Far too much'.'F'} 
> }.  
> 
> How can I have a similar behavior to what it used to do ?
> 
> Thanks !

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131203/022d66b4/attachment-0002.html>


More information about the Pharo-dev mailing list