Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

valueMap sequence attribute?

$
0
0
Do you support any kind of sequence attribute directly on the valueMap value element that would override the order in which the values appear in a SelectItem?

For example, it would be nice to be able to specify a sequence as follows so that the values appear in the order "A, B, C, D" instead of "D, C, B, A".

Code:

<field name="aField" type="integer" multiple="true">
    <valueMap>
        <value ID="1" sequence="4">D</value>
        <value ID="2" sequence="3">C</value>
        <value ID="4" sequence="2">B</value>
        <value ID="8" sequence="1">A</value>
    </valueMap>
</field>

SmartClient Version: v9.1p_2014-08-11/Pro Deployment (built 2014-08-11)

Thanks

Viewing all articles
Browse latest Browse all 4756

Trending Articles