Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

GM - Report Table

(gmpkg:reportTableLWC)

Documentation

GM - Report Table component is used to display a Report table on any Lightning page (Home, App, Record). It supports Tabular, Summarized and Matrix Reports. The report filters can be configured through the App Builder and using the current object on a Record Page.

Use case: Display a summarized report of opportunities filtered by current account. See Report Table.

Specification

Property
Type
Description

Report Developer Name *

String

The report developer name. This is a unique name across the org.

Details Row

Boolean

Check this option to show details row.

This option is useful for Summarized report only.

Subtotals

Boolean

Check this option to show Subtotals row.

This option is useful for Summarized report only.

Grand Total

Boolean

Check this option to show Grand Total header.

This option is useful for Summarized report only.

Show Border

Boolean

Check this option to display a border around the table. The default value is false.

Filter

String

JSON Report Filters.

Where $report_field is the name of the field to filter on and $field_value is the value of the filter.

$recordId can be used to reference the current recordId.

Below is an example to filter an opportunity report based on the current account.

$record.fieldApiName can be used to filter by any record field when the component is configured on a Lightning Record Page.

Hide Refresh

Boolean

Check this option to hide the Refresh button.

Hide Expand

Boolean

Check this option to hide the Expand button.

Hide Footer

Boolean

Check this option to hide the footer. The user will not be able to toggle Details Row, Subtotals and Grand Total

Custom Label

String

Set a specific label instead of the report label. When a custom label is defined, the user will not be able to navigate to the report.

Table Height

Integer

Set this property if you want to control the height. The user has to scroll vertically to see more records.

API Reference

Last updated

Was this helpful?