摘要: <script type="text/javascript"> if (!Function.prototype.bind) { Function.prototype.bind = function (oThis) { if (typeof this !== "function") { throw n 阅读全文
posted @ 2019-11-26 13:02 绯颜旧雨 阅读(247) 评论(0) 推荐(0)
摘要: iview官网 :https://www.iviewui.com/components/checkbox 引入js文件及css文件: <script src="https://vuejs.org/js/vue.min.js"></script> <link rel="stylesheet" href 阅读全文
posted @ 2019-09-20 10:22 绯颜旧雨 阅读(555) 评论(0) 推荐(0)
摘要: /** * @param {起始行} a * @param {起始列} b * @param {复制到行} c * @param {复制到列} d * @param {复制多少行} e * @param {复制多少列} f * @param {添加行循环次数} g * @param {要复制的she 阅读全文
posted @ 2019-04-22 15:33 绯颜旧雨 阅读(1092) 评论(0) 推荐(0)
摘要: 自定义菜单 function ContextMenu(){} ContextMenu.prototype = new GC.Spread.Sheets.ContextMenu.ContextMenu(spread); //菜单右键之后走的方法 ContextMenu.prototype.onOpen 阅读全文
posted @ 2019-04-22 15:29 绯颜旧雨 阅读(711) 评论(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 绯颜旧雨 阅读(2095) 评论(1) 推荐(1)
摘要: function FileCellType() { } FileCellType.prototype = new GC.Spread.Sheets.CellTypes.Base();FileCellType.prototype.createEditorElement = function() { / 阅读全文
posted @ 2019-04-22 15:11 绯颜旧雨 阅读(585) 评论(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 绯颜旧雨 阅读(810) 评论(0) 推荐(0)
摘要: 语法:arraylist.sort(sortby); sortby:排序函数; 例子:st=[{"ID":15,"trees":2,"NodeNM":" 省属","isLeaf":1,"haveData":null,"行政区划":"4290","项目类型":null},{"ID":14,"trees 阅读全文
posted @ 2019-02-18 10:05 绯颜旧雨 阅读(4028) 评论(0) 推荐(1)
摘要: 转自 https://blog.csdn.net/u010838785/article/details/52691850 阅读全文
posted @ 2018-11-16 10:42 绯颜旧雨 阅读(526) 评论(0) 推荐(0)
摘要: function formatDate(dt) { var year = dt.getFullYear(); var month = dt.getMonth() + 1; var date = dt.getDate(); var hour = dt.getHours(); var minute = 阅读全文
posted @ 2018-11-16 10:24 绯颜旧雨 阅读(3028) 评论(0) 推荐(0)