Auto/default selection in GLM

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

Auto/default selection in GLM

Arturo Zambrano
Hi all,
 I need to pre select an item in a list.
 Consider the following snipped, how do I tell 
the list the default selected item is, let say, Array?
I could not find an example and tried different ways
using transmissions with no luck

| browser |
browser := GLMTabulator new.
browser
title: 'test';
column: #classes;
initialExtent: 200@300.
browser transmit
to: #classes;
andShow: [ :pres | 
pres tree
display: [ OrderedCollection with: Collection ];
children: [ :each | each subclasses];
allExpanded;
format: [ :each | each name ]] .
browser openOn: Collection

TIA
Arturo