SmartClient Version: Isomorphic SmartClient/SmartGWT Framework (v12.0p_2019-06-20/Pro Deployment 2019-06-20) - Initialization Complete
I have two datasources: The first one for the 'lookup',
and the second one for the 'table'.
The javascript using the datasources has a pretty standard listgrid and dynamicform.
The issue is that the datasources are not behaving per the showcase: https://www.smartclient.com/smartcli...sqlIncludeFrom I am getting the retro_id (integer) in the listgrid, the retro_desc in the dynamicform, and the retro_desc in the dropdown SelectItem field. Per the showcase, I expect the retro_desc in the listgrid. I have also tried the example per the showcase: https://www.smartclient.com/smartcli...=sqlIncludeVia with the same results. I have tried what seems like every combination of displayField, foreignDisplayField, foreignKey, includeFrom, includeVia without success (see attachment).
How can I get the retro_desc in the ListGrid, the retro_desc in the DynamicForm, and the retro_desc in the dropdown SelectItem field?
Regards,
K.
I have two datasources: The first one for the 'lookup',
Code:
<DataSource ID="rscReacctProgramYearsThin" serverType="sql" serverConstructor="com.reacctsystems.reacct.srv.ProgramYearsThinDataSource" appserverDomain="web" generatedBy="v11.104.10683" clientOnly="false" testFileName="test_data/ProgramYearsThin.data.csv" > <fields> <field name="retro_id" type="integer" title="RetroID" primaryKey="true" /> <field name="retro_desc" type="text" length="200" title="RetroIDDesc" /> </fields> </DataSource>
Code:
<DataSource ID="rscReacctCatastrophes" serverType="sql" serverConstructor="com.reacctsystems.reacct.srv.CatastrophesDataSource" appserverDomain="web" generatedBy="v11.104.10639" clientOnly="false" testFileName="test_data/Catastrophes.data.csv" > <fields> <field name="cat_id" type="integer" format="########0" title="Catastrophe" primaryKey="true" hidden="true" autoGenerated="true" /> <field name="cat_desc" type="text" length="200" title="Description" /> <field name="retro_id" type="integer" format="######0" title="RetroID" editorType="SelectItem" foreignKey="rscReacctProgramYearsThin.retro_id" displayField="retro_desc" /> <field includeFrom="rscReacctProgramYearsThin.retro_desc" hidden="true" /> <field name="is_marked" type="checkbox" title="Marked?" /> </fields> </DataSource>
The issue is that the datasources are not behaving per the showcase: https://www.smartclient.com/smartcli...sqlIncludeFrom I am getting the retro_id (integer) in the listgrid, the retro_desc in the dynamicform, and the retro_desc in the dropdown SelectItem field. Per the showcase, I expect the retro_desc in the listgrid. I have also tried the example per the showcase: https://www.smartclient.com/smartcli...=sqlIncludeVia with the same results. I have tried what seems like every combination of displayField, foreignDisplayField, foreignKey, includeFrom, includeVia without success (see attachment).
How can I get the retro_desc in the ListGrid, the retro_desc in the DynamicForm, and the retro_desc in the dropdown SelectItem field?
Regards,
K.
Comment