Your report can be printed directly from Flexmonster via the OS print manager.
In Flexmonster, you can also save, export, or share your report.
Step 1. Open a view that you want to print. It can be one of the following:
"grid_charts"
or by calling the showGridAndCharts method.Step 2. Select Export () > Print () on the Toolbar to print the view:
This will open the OS print manager from where you can start printing.
Note If you start printing in the drill-through view, the current grid, chart, or grid and charts view will be printed instead.
To print the report programmatically, use the print() API call:
pivot.print();
This will open the OS print manager from where you can start printing Live example.
You can also call the print()
method with the options parameter. Check out an example with options.header and options.footer:
const options = {
header:"<div>##CURRENT-DATE##</div>",
footer:"<div>##PAGE-NUMBER##</div>"
};
pivot.print(options);