Using the http://www.smartclient.com/smartgwtee/showcase/#jpaRelationManyToOneSimple showcase, I tried to group items by country.
It turns out that the group header seems to be the country Id and not the country name. See the attached screen shot.
I suppose the listGrid gets confused because of the combination of "displayField" and "foreignKey" attribute used in the data source definition:
Is this a bug? Is there a workaround?
Thanks,
Pierre
It turns out that the group header seems to be the country Id and not the country name. See the attached screen shot.
I suppose the listGrid gets confused because of the combination of "displayField" and "foreignKey" attribute used in the data source definition:
Code:
<fields> <field name="countryName" type="text" hidden="true" valueXPath="country/countryName"/> <field name="country" title="Country" canEdit="true" displayField="countryName" foreignKey="countryManyToOneSimpleJPA.countryId" /> </fields>
Thanks,
Pierre
Comment