Grandchild display in line template
I have a question around the in line template which is being used for grandchild attribute display.
eCfgControlComboAddPriceAttribGridJS
eCfgRelationContentsPriceQuantityAttribGridJS.
1.Is there a way to display the attributes in read-only mode (value appears as text in the UI)
The answer to this is probably to call custom function to display attributes in read-only mode in the template '
eCfgRelationContentsPriceQuantityAttribGridJS'
<swe:if condition="Default, TestFieldValue, Operator:==, FieldName:.Grandchild Type, FieldValue:text">
<swe:control id="850" CfgFieldName="AttValue" CfgHtmlType="CfgTextBox"
CfgJSShow="showReadOnlyTextBoxAttr" CfgJSUpdateSelection="updateSelectionInfoForAttribute" />
</swe:if>
2. Provide 'Edit' button next to the selected port item in that relationship and display the attribute display style when 'Edit' button is clicked.