Vue 集成 spreadjs
- 将spread引入工程
- 带顶部操作栏
- 引入包
-
- 定义好标签
-
- 引入包
- 只有sheet页
-
- 在ts引入
-
- 设置LicenseKey
- 带顶部操作栏
- 渲染
- 监听workbookInitialized事件获取ssjson并渲染
- 事件监听:选中,双击,拖拽,切换/重命名/删除sheet页,编辑,值变化,右键菜单
- 默认样式,锁定,字体,只读,校验,提示信息,下拉,日期,单选,超链接
- 图片,签章
- 打印,导出
- 监听workbookInitialized事件获取ssjson并渲染
- 优化
- 使用suspendPaint 中止渲染
- suspendEvent 挂起事件触发机制
- 使用suspendPaint 中止渲染
- 示例代码:https://demo.grapecity.com.cn/spreadjs/SpreadJSTutorial/features/workbook/initialization/purejs
- 组件版本:https://demo.grapecity.com.cn/spreadjs/help/docs/designer-vue.html
- 论坛地址 https://gcdn.grapecity.com.cn/showforum-230-1.html
- 在线编辑 https://demo.grapecity.com.cn/SpreadJS/WebDesigner/