随笔分类 -  spreadjs 开发

摘要:/** * @param {起始行} a * @param {起始列} b * @param {复制到行} c * @param {复制到列} d * @param {复制多少行} e * @param {复制多少列} f * @param {添加行循环次数} g * @param {要复制的she 阅读全文
posted @ 2019-04-22 15:33 绯颜旧雨 阅读(1074) 评论(0) 推荐(0) 编辑
摘要:自定义菜单 function ContextMenu(){} ContextMenu.prototype = new GC.Spread.Sheets.ContextMenu.ContextMenu(spread); //菜单右键之后走的方法 ContextMenu.prototype.onOpen 阅读全文
posted @ 2019-04-22 15:29 绯颜旧雨 阅读(681) 评论(0) 推荐(0) 编辑
摘要:单击事件 spread.bind(GC.Spread.Sheets.Events.CellClick, function(e, args) { var sheetArea = args.sheetArea 0 ? 'sheetCorner': args.sheetArea 1 ? 'columnHe 阅读全文
posted @ 2019-04-22 15:20 绯颜旧雨 阅读(2049) 评论(1) 推荐(1) 编辑
摘要:function FileCellType() { } FileCellType.prototype = new GC.Spread.Sheets.CellTypes.Base();FileCellType.prototype.createEditorElement = function() { / 阅读全文
posted @ 2019-04-22 15:11 绯颜旧雨 阅读(548) 评论(0) 推荐(0) 编辑
摘要:首先声明一个容器 <div id="ss" class="sample-spreadsheets" style="margin:1px 1px 1px 1px;"> </div> 然后初始化表格 var spreadNS = GC.Spread.Sheets; var spread = new GC 阅读全文
posted @ 2019-04-22 15:07 绯颜旧雨 阅读(796) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示