打印
表格打印插件。可借助浏览器实现对表格内容的预览打印,有分页,打印方向,缩放比例等选项可以设置。
构造函数
用法
const editor = new window.shimo.sdk.sheet.Editor() editor.render({ content: [表格内容], container: [表格渲染容器] }) const print = new window.shimo.sdk.sheet.plugins.Print({ editor: editor, }) // 显示打印对话框 print.printPopup.showPrintDialog()