generates custom HTML to print instead of the widget HTML and invokes printing
var html = $$("$datatable1").$customPrint({
mode:"portrait",
size:{ width: 11.7, height: 16.5 }
}, true);
The method takes the following parameters:
Now Datatable, Dataview, X-List, Spreadsheet and PDFViewer components use this method. We don't recommended to call it directly, but you can provide custom logic for printing your custom components with its help, if needed.
Back to top