...
Screen Item | What to provide | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Template ID | Provide a unique ID for the Template. For example, ACCOUNT_ROW_TEMPLATE. | ||||||||||||||||||||||||
Template Description | Small description about the Template. For example, ACCOUNT ROW TEMPLATE. | ||||||||||||||||||||||||
Channel Id | Indicates for which channel the template is applicable for. The options available are: Do you wish to configure a common template for all channels? Yes: This template is applicable to all the following channels.
No: Appropriate channel must be selected for the template.
| ||||||||||||||||||||||||
Template Config | You can directly enter the HTML DOM (codes) of the template in this field. Alternatively, define the HTML/CTTPL file of the template in the WAR folder (e.g. ctmodelhouse/templates) and provide the path to the template in this field.
Example for HTML DOM:
Example for template path:
| ||||||||||||||||||||||||
Submit | Submit the configuration of Template. |
Apply the Row Template to the Grid App (Widget)
Open the grid app (widget) in the App Designer and navigate to the row configuration and select the Row Template you want to apply as shown in the following screen shot (Row Template > Enable Row Template toggle > Select the Row Template):
...
Let's assume that the ACCOUNT SUMMARY DETAILS app is mapped to the ACCOUNT SUMMARY workspace. By clicking the checkbox, on the left side, beneath the app title, all the rows of the grid app will get selected. The following screen shot serves as a good illustration of the output in the functional application, Modelhouse:
To define events and capture actions for the Row Template, refer Defining Events and Triggering Actions for Row Template.