cool, thanks!

On 08 May 2015, at 13:25, Andrei Chis <chisvasileandrei@gmail.com> wrote:

So you the browser to have an initial selection?
If yes you need to use initialized:

|browser |
browser := GLMTabulator new.
browser column: #one.
browser transmit to: #one; andShow: [ :a |
a tree
children: [:x :i | x asString size > 1 ifTrue: [x] ifFalse: [OrderedCollection new] ];
initialize: [ :tree | tree selection: #($e $f) ] ].
browser openOn: #(($a $b $c $d) ($e $f) ($g $h $i $j $l)).

Cheers,
Andrei

On Fri, May 8, 2015 at 12:52 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
I have a browser with a tree and a text after it…
I want my browser to show with an initial value. This does not seems to work:

presenter tree;
        children: [ :node | node children ];
        selection: { someNode }.

nor:

presenter tree;
        children: [ :node | node children ];
        selectionPath: { someNode }.

I’m lost :)

Esteban
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev

_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev