MicroStrategy ONE
Report Headers
ReportGridTransformImpl is the concrete transform class applied to all report grids in MicroStrategy Web products by default. It is responsible for iterating through the report data to construct the corresponding HTML table for displaying the results to the end user. It contains many methods that can be individually overridden to customize specific aspects of the report grid. The Report Headers section of the grid is full of titles and columns as shown in the figure below.
The most common layout for the report headers involves having metrics in the columns. For this scenario, the headers can be considered one big row, consisting of smaller stacked rows for each column title. One title (Metrics) is for all metric objects. Each other title is for a specific attribute.
Some of the methods are described below:
-
renderRowTitles()— Calls renderRowTitle() for each Row Title in the header. If in 508-compliant mode, also calls renderRowTitlesAccessibility() to alter row format.
-
renderRowTitle()— Displays each Row Title rendered by ReportGridCellRowTitle. If subtitles are present, it also generates the corresponding cells for each subtitle.
-
renderColumnTitle()— Displays each Column Title rendered by ReportGridCellColTitle.
-
renderColumnHeaders()— Calls renderColumnHeader() for each Column Header in the grid.
-
renderColumnHeader()— Displays each Column Header rendered by ReportGridCellColHeader.