We have a datasource with a multi integer-valued field defined like the following.
When we view a record for this datasource using the DetailViewer (something like the snippet shown below), the value appears as the mapped label as expected using the valueMap only if the value is a single value. If the value is not a single value, it shows a comma separated list of integers rather than the mapped labels from the valueMap.
SmartClient Version: v9.1p_2014-09-24/Pro Deployment (built 2014-09-24)
FF 24.8.0
Thanks
Code:
<field name="someField" type="integer" multiple="true">
<title>Some multi integer-valued field</title>
<valueMap>
<value ID="1">A</value>
<value ID="2">B</value>
<value ID="4">C</value>
<value ID="8">D</value>
</valueMap>
</field>
Code:
DetailViewer detailView = new DetailViewer();
detailView.setDataSource(dataSource);
detailView.setData(new Record[] { record });
...
FF 24.8.0
Thanks
Comment