1 Context
In this task, we will delve into the different attributes that can be set per field in a grid. Our aim is to control and modify the alignment of table contents here.
2 Result
3 Step by step guide
- Go the the designer of your “OrderOverview” screen
- Launch the screen to see how the fields in the grid are aligned. Close the launched window and go back to the designer
- Open the object master of the “OrderGrid_<yourName>” by clicking the small gear wheel icon in the layout design
- Navigate to the “Schematic View” tab on the view sections of the object designer (It should be selected already)
- Select the field “OrderEntity.CustNum” and search in the section “Attributes” for the attribute “align” and change the value to “left”
- Select the field “OrderEntity.OrderNum” and search in the section “Attributes” for the attribute “align” and change the value to “right”
- Select the field “OrderEntity.OrderStatus” and search in the section “Attributes” for the attribute “align” and change the value to “center”
- Launch the screen to see the result
4 Explanation
By editing the attributes within the object designer at the entity level, the behavior of each individual value can be precisely controlled. This example is intended to show how many options there are at the datafield level to control behavior.