Print
Feature
Allows printing Grid contents using browser print dialog.
This feature is based on PdfExport with only difference that instead of sending request to a backend it renders content to an IFrame element and requests print dialog for it. For more details about preparing HTML for printing, please refer to the PdfExport docs.
This feature will not work properly when Store uses lazyLoad
Usage
const grid = new Grid({
features : {
print : true
}
})
// Opens popup allowing to customize print settings
grid.showPrintDialog();
// Simple print
grid.print({
columns : grid.columns.map(c => c.id)
});
This feature is disabled by default. For info on enabling it, see GridFeatures.
See also
- PdfExport - Export to PDF
- ExcelExporter - Export to Excel
No results
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of Print class, or subclass thereof.
-
Identifies an object as an instance of Print class, or subclass thereof.