1 Context:
In this step, we will look at two options for manipulating data in a grid. We create a starting function to open an editing screen from an existing screen. To do this, we need to configure some attributes on the instance level of a grid.
2 Result:
3 Step by step guide:
- 👋 Please open your screen “OrderOverview” in the Screen Designer
- 👋 Select the “CustomerGrid” and open the object designer by clicking the gear wheel icon in the panel “Layout design” and then “Open Object Master”. The object designer for the “CustomerGrid” will open up
- 👋 In the left Tabbar select the tab/Icon “Instances”.
- 💡An overview with all fields of the table will appear. Here you are able to set configurations for every attribute which is available in the grid
- 👋 Please select the “CustomerEntity.Name” and select it
- 👋 Search for the following three attributes in the panel “Attributes” and fill it with
- ⚠️ Please keep in mind after every save you must select the “CustomerEntity.Name” again because of the refresh after the safe ⚠️
- VisualizationType -> “LINK”
- 💡display the content of this column in form of a clickable link
- 💡delete the FILL-IN
- SUBTYPE -> “LAUNCH”
- 💡 (By clicking the link a new window will be launched)
- UpdateRecordContainer -> “CustomerMaintenanceScreen”
- 💡 (This screen will be launched and update the connected DSO)
4 Explanation:
By changing the three attributes, we can modify the behaviour of the cell content.
- In the first step, we change the display of the cell content so that it's shown as a link.
- In the second step, we give instructions to the link to start something.
- In the third step, we indicate to the link what exactly needs to be started. In our case, a pre-defined different screen should be opened, which is used for manipulating data records and writing them back to the table.