Hello,
I have defined a DataSourceField from type "image" and set the attributes "imageHeight" and "imageWidth" to two other fields which contains the Height and Width,.
In SmartGWT 3.0 it's works fine. In Version 3.1p from today I get the error that the fields have to be of type integer.
Is there another solution in version 3.1.?
Peter
I have defined a DataSourceField from type "image" and set the attributes "imageHeight" and "imageWidth" to two other fields which contains the Height and Width,.
Code:
<field name="thumbnail" type="image" title="-" imageHeight="thumbnailHeight" imageWidth="thumbnailWidth"/> <field name="thumbnailWidth" type="integer" title="-" hidden="true"/> <field name="thumbnailHeight" type="integer" title="-" hidden="true"/>
Is there another solution in version 3.1.?
Peter
Comment