Unused or not needed fields can be hidden in a grid.
1. Summary
Each grid contains all fields of the BusinessEntity as columns. In order to show less columns use the attribute "instanceRestrictions".
2. Result
The following guide provides instructions on how to hide specific fields.
3. Step by Step Guide
- Select the corresponding Swat Grid
- Search for the attribute "instanceRestrictions"
- The value of the attribute needs to be put like this: "!fieldname1,!fieldname2,*".
- It is a comma-separated list and the fieldnames must start with an exclamation mark "!" (the field is called instance restrictions, so you define the exceptions from the restriction, that is the reason for the negation sign "!").
The list must end with an asterisk "*".
Please note: If you want to restrict the fields in the way you configure it for all screens (where the grid will be used) open the Grid itself in the object designer and make your changes. Otherwise open the screen and change the attribute of the Grid there. That will affect only the screen.
4. Documentation
To find more information, you can check the following documentation.
Back to Use Cases
Back to Home Page