Creating custom Grid Views
Designing a Grid View
Controlling what Grid View is displayed to a user
An object type can have multiple Grid Views that are enabled. You define rules that determine what Grid View is displayed to a user. A Grid View can be displayed:
- For all or specific profiles.
For more information, see Controlling which views are displayed to users and Defining a Grid View.
When users access an object type that does not have an enabled, valid Grid View, an error is displayed.
Designing a Grid View for scalability and performance
Consider scalability and performance when you design Grid Views. For example, if you have 500,000 Control objects in a library, a Grid View for Controls can be slow to display if no filters are applied.
For quicker system performance, apply a default filter to Grid Views that are defined for object types that potentially display many objects.
For more information, see Defining default filters on Grid Views.
Fixed UI components in a Grid View
| UI component | Description |
|---|---|
| Work area | The work area (the grid) is always displayed. |
| Filter icon ( |
Is always displayed and cannot be hidden. |
| The name of the object type | Is always displayed and cannot be hidden. |
| The number of objects returned | Is always displayed and cannot be hidden. |
| The Search box | Is always displayed and cannot be hidden. |
| New button | Is displayed if creation is allowed at the object level and per the user's access permissions. |
| Checkboxes next to objects | Are always displayed and cannot be hidden. |
| The word more | Is always displayed when text is longer than can be shown. It cannot be hidden. |
| Items per page | Is always displayed and cannot be hidden. |
Configurable UI components in a Grid View
| UI component | Description |
|---|---|
| Work area | The work area (the grid) consists of columns and rows. You can configure how many columns are displayed and what fields display in each column. The header row in the grid is always displayed. The content of the rows is determined by the data that the user filters. |
| Display alternate field labels | You can change the locale to display alternate field labels. For information, see Applying alternate field labels. |
| Default filter | If the object type has workflows, the Active Only check box displays.
You can optionally overwrite the Active Only filter. If the object type does
not have workflows, you can create your own default filter. For information, see Defining default filters on Grid Views. |
| New button | Is displayed if creation is allowed for the object type and the user has access permissions for the object type. |
| The |
Is displayed if registry settings that control bulk update functionality are configured for
the user and object type. For more information, see:
The fields that are allowed to be updated are configured by the Bulk update setting in the view definition. Fields that are not displayed in the Grid View can also be updated, if configured. Bulk update is not available for read only fields, for example, computed fields, workflow fields, and system fields that are read only. Administrators with the Bulk Update All Fields application permission can bypass the restrictions on fields that can be updated. For more information, see Types of application permissions. |
| Defining colors for enumerated field values | You can add colors to values in enumerated field values. For more information about how to apply colors to field values, see Defining enumerated string fields. |
| Applying color ranges | You can apply colors to value ranges for decimal, integer, and currency data types. For more information about how to apply colors to field value ranges, see Defining fields and adding them to field groups. |
Defining a Grid View
Before you begin
Plan and design the Grid Views. For more information, see Designing a Grid View.
If you define multiple Grid Views for an object type, see Controlling which views are displayed to users.
Turn on the Display debug info feature. For more information, see Displaying debug information.
About this task
Each object type can have one or more Grid Views that are enabled.
For quicker system performance, apply a default filter to Grid Views that are defined for object types that potentially display many objects.
Procedure
What to do next
If you need to change the rules after a view is saved, click
.
Defining Grid Views for bulk workflow actions
Before you begin
Determine whether unique Grid Views are needed for the feature. Any Grid View can be used for bulk workflow actions. The reason to create unique Grid Views for bulk workflow actions is to customize the columns to meet the needs of the users completing the tasks.
About this task
A Grid View for bulk workflow actions is displayed when a user accesses tasks from the Complete task with bulk workflow actions window.
In the following example, a user selected to work with tasks assigned to them by the RCSA workflow, which is displayed in Workflow Name in the header. The stage is displayed next to the workflow name. In this example, the user has 43 risk assessments to review. The options in the toolbar, Approve, Reject, and Return, come from the workflow stage.
- The Grid View that is displayed is defined in the workflow stage.
- The options in the toolbar are defined in the workflow stage. They cannot be configured in the View Designer.
- The New button is hidden.
- The tab name is always Bulk Action.
- The Grid View head is always Bulk Workflow Action.
Procedure
- Follow the instructions in Defining a Grid View to define a Grid View.
- Add fields. The fields will be columns in the Grid View. Choose columns that will be helpful to the user when they work with bulk workflow actions.
- Click Done.