Re: [Pharo-users] Rép: How to display Dictionary using TreeModel

2016-02-10 Thread Христина Михайлюк
Thank you very much =) 2016-02-09 23:45 GMT+02:00 julien : > Hi, try something like: > > tm := TreeModel new. > tm roots: yourCollection. > tm hasChildrenBlock: [ :item | item isDictionnary ]. > tm childrenBlock: [ :item | item keysAndValues ]. > > I wrote that from my phone but I think it is wor

[Pharo-users] Rép: How to display Dictionary using TreeModel

2016-02-09 Thread julien
Hi, try something like: tm := TreeModel new. tm roots: yourCollection. tm hasChildrenBlock: [ :item | item isDictionnary ]. tm childrenBlock: [ :item | item keysAndValues ]. I wrote that from my phone but I think it is working. Else it shows you the idea :) Julien Khrystyna Mykhailiuk a écrit