📅 Display audit trails in a table format.
Overview
The audit traills tile type exhibits the Audit Trails within a straightforward table format.
Object Properties
The table provides a summary of the object properties associated with the audit trails tile type, including their types, mandatory or optional status, and descriptions.
| Property | Type | Requirement | Description |
|---|---|---|---|
type | string | Mandatory | Always set to audit-trails. |
title | string | Optional | If provided, set the title of the tile. If set to false(boolean not a string), no title is shown. If omitted, the default title audit trails is displayed. |
canCollapse | boolean | Optional | If enabled and set to true, it collapses the tile body by default and always displays the title. Clicking the title expands the tile to show/hide its content. |
collapsed | boolean | Optional | If enabled and set to true, the tile body collapses by default. Clicking the title expands the tile to show its content. |
options | object | Optional | Additional options for customization. |
pageSize | number | Optional | Defines the default page size for pagination. If not specified, it defaults to 10 entries per page. |
Sample Configuration
- Minimal Configuration
Here is a sample configuration for incorporation of the audit trails tile type with minimal configuration for an entry layout:
{
"type": "audit-trails"
}- Audit Trails in a tab
The following sample configuration assumes that we have the tabs tile as the parent.
Note:
- The setting of title to
false, conserves the space.- The tab name serves as the title, eliminating the need for an additional title.
{
"type": "tab",
"title": "Audit trails",
"content": [
{
"type": "audit-trails",
"title": false,
"options": {
"pageSize": 5
}
}
]📌 Need Help?
