Hi,

Chiming in because I think this was not about areas/components, but rather 
about the twin-column field in dialog/forms, as documented 
[url=http://documentation.magnolia-cms.com/display/DOCS/Twin-column]here[/url].

- TwinColSelectFieldDefinition extends SelectFieldDefinition, so among others 
it supports: 1. configuring the list of options (options node) as well as 2. 
sorting them alphabetically — which is *ON* by default. The property in config 
is called "sortOptions". In your case it should perhaps be set to false, so 
that order of options is the same as JCR order in config.

- Side note if you're using dynamic options via a specific field factory, the 
typical field here is a plain Vaadin TwinColSelect. As any other Vaadin select, 
it accepts a Container as datasource. In that case, it's up to the container to 
implement the Container.Sortable interface; then in your factory you can 
perform the initial sorting.

Hope this helps!

Mika

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=ec9fed8c-65f2-4e1e-9af2-ef613c89b0b8


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to