|
||
This form is used for defining report tables. You can switch to the Preview tab at any time to see the table as it is configured. You can find descriptions of particular table properties in the following table:
Display name |
The name of the table shown in the user interface. |
Code name |
Name used in your code. |
Enable export |
If enabled, users who view the table are able to export the displayed data to external files using the Microsoft Excel (XLSX), CSV or XML format. The data export feature may be accessed by right‑clicking the table in the report, which opens a context menu with possible export actions. |
Enable subscription |
If enabled, users will be able to subscribe to the currently edited report table. To allow subscriptions, it is also necessary to have the Enable subscription box checked on the General tab of the given report. |
Query |
Here you can add the SQL query used to retrieve data to be displayed by the table.
For security reasons, the Edit SQL queries permission for the Reporting module is necessary to edit this field. |
Is stored procedure |
Indicates if the query is a stored procedure or not. |
Connection string |
Sets the database connection string used by the table's query.
Only users who have the Set connection string permission for the Reporting module are allowed to change this value.
The system loads the list of connection strings from the <connectionStrings> section of the application's web.config file. The (default) option represents the CMSConnectionString added by the application's initial database installer.
You can check the Inherit box to load the Connection string value set for the parent report. |
No record text |
Text to be displayed if the query doesn't return any data. |
Skin ID |
ID of the .NET skin (stored in the .skin files in ~/AppThemes/<theme name>) which will be used for the table. |
Enable paging |
If enabled, paging will be enabled when the report table is displayed. The paging can be configured by the two properties below. |
Page size |
Number of table rows per page. |
Paging mode |
Type of paging controls displayed below the table. The following options are available:
•Previous-next buttons - displays buttons leading to the previous and next page •Page numbers - displays page numbers leading to the corresponding pages •Previous-next-first-last buttons - displays buttons leading to the first, last, previous and next page •Page numbers-first-last buttons - displays page numbers leading to the corresponding pages and buttons leading to the first and last page |
Additional resources:
•Developer's Guide -> Modules -> Reporting -> Overview
•Developer's Guide -> Modules -> Reporting -> Creating a new report -> Creating new tables