Custom Reports Demo

Unlike System Reports and User Reports , Custom Reports - also offered by AdapTable - do not need to include data (or columns) present in the grid in the exported data set.

Instead the data in the export is fetched each time the report is run via a function provided in UserFunctions (and referenced in Export Predefined Config) .

This allows developers to provide their own reports but leverage AdapTable state, scheduling and report destinations.

This example includes a Custom Report entitled People Report with 3 columns and 4 rows of data - none of which are contained in the current grid.

Note that not every cell needs to have data, but it needs to be present in the data (which is an array or arrays) so that all the rows match the provided columns.

Additionally, this report is scheduled to run (exporting to CSV) every day at 17:30

Generating dummy data, please wait ...