Defect/Issue Description:
The table header can have merge syntax, but if the value of the filed used in merge syntax is updated the table will not be updated, even after model.save()
e.g. {{ReferenceField.Name}}
, Initially the header is displayed fine, but if the ReferenceField is updated, header will not display the correct heading because different ReferenceField will have different name.
Environment:
- API Version: v2
- Release: Chicago
- Release version: 14.4.11
- Platform: Salesforce
Brief Summary of the Defect/Issue:
The table header can have merge syntax, but if the value of the filed used in merge syntax is updated the table will not be updated, even after model.save()
Action Performed:
- Open Table Drawer
- Enter text into Field1
- Press save
- Notice the table header has not updated of either tables
- Close drawer
- open Drawer
- The table inside drawer will have its header updated. (probably because it was rerendered)
Expected Result:
The header of both tables updated, either when the field is updated or saved.
Actual Result:
The header is not updated for neither of tables. Unless you close/open drawer then the table inside drawer will have its heading updated.
Additional Resources:
<skuid__page unsavedchangeswarning="yes" personalizationmode="server" showsidebar="true" showheader="true">
<models>
<model id="UiModel" limit="20" query="true" datasource="Ui-Only" createrowifnonefound="true">
<fields>
<field id="Field1" displaytype="TEXT" length="255" label="Field1"/>
</fields>
<conditions/>
<actions/>
</model>
</models>
<components>
<skuid__table allowColumnFreezing="dragDrop" model="UiModel" uniqueid="sk-1O50-15088" mode="edit" showSaveCancel="true" pageSize="10" enableDrawers="true">
<fields>
<field id="Field1" label="{{Field1}}" uniqueid="fi-1O56-16788"/>
</fields>
<filtering enableSearch="false"/>
<actions/>
<rowActions/>
<massActions/>
<exportProperties useTableColumns="true"/>
<sorting enable="false"/>
<drawer>
<components>
<skuid__table allowColumnFreezing="dragDrop" model="UiModel" uniqueid="sk-1O5O-21408" mode="read">
<fields>
<field id="Field1" label="{{Field1}}"/>
</fields>
<filtering enableSearch="false"/>
<actions/>
<rowActions/>
<massActions/>
<exportProperties useTableColumns="true"/>
<sorting enable="false"/>
</skuid__table>
</components>
</drawer>
</skuid__table>
</components>
<resources>
<labels/>
<javascript/>
<css/>
<actionsequences/>
</resources>
<styles>
<styleitem type="background" bgtype="none"/>
</styles>
</skuid__page>