We are having what appears to be a problem with the display of a field value of type enum in the DetailViewer. This is with SmartClient 7.0 released.
The DetailViewer in question is bound to a datasource where the relevant data field is defined as
When the value of the "type" field is "complex", it is displayed correctly. If the value is "set" then the following string is displayed in the type field:
function (_1, _2) {this[_1]=_2;this.dataChanged();}
which looks like a fragment of SmartCllent code.
I've checked the values returned from the server and they are indeed the strings "complex" or "set". When I examine the data for the DetailViewer (using the programmers console) when it is displaying the strange string, the type field contains the exact string "set" as the value.
Other enumerated fields which do not include the possible value "set" also seem to display correctly in the same DetailViewer.
The DetailViewer in question is bound to a datasource where the relevant data field is defined as
Code:
<field name="type" title="type" type="enum" > <valueMap> <value>complex</value> <value>mixture</value> <value>set</value> <value>covalent</value> </valueMap> </field>
function (_1, _2) {this[_1]=_2;this.dataChanged();}
which looks like a fragment of SmartCllent code.
I've checked the values returned from the server and they are indeed the strings "complex" or "set". When I examine the data for the DetailViewer (using the programmers console) when it is displaying the strange string, the type field contains the exact string "set" as the value.
Other enumerated fields which do not include the possible value "set" also seem to display correctly in the same DetailViewer.
Comment