Reporting Dashboard - Customizing Columns
The Columns element of the report allows you to define how the output columns are displayed. This includes:
- Column heading
- Visibility of the column
- Column item prefix
- Column item suffix
- Column totals
- Hyperlinks
Each column must be assigned a unique id ranging from 1 to the number of columns returned by the SQL query.
If you define one of the output columns, you must define all of them otherwise the report will not be displayed.
Each column is defined by the following attributes:
-
id: The unique id of the column
visible: Optional attribute that defines whether the column is displayed. Possible values: true or false.
width: Optional attribute that defines the width of the column in pixels.
align: Optional attribute that defines how the item is aligned in the column. Possible values: left, right and center.
prefix: Optional attribute that defines the text to be displayed before the item.
suffix: Optional attribute that defines the text to be displayed before the item.
total: Optional attribute that defines whether items within the column are
totalled.***
href: Optional attribute that defines the hyperlink associated with all items of the column.
*** items are only totalled if the report has totalled enabled, i.e.
Example: This example displays a list of Closed Calls that were logged within an Operator defined period includes billing details. The example also illustrates how to change the default column headings, CallID changed to Case Number, add a column prefix and apply totals.
See Also
Overview
Writing a Report
Passing Parameters
Adding Hyperlinks
Displaying Multiple Reports