摘要: var beforePrint = function() { console.log('Functionality to run before printing.'); }; var afterPrint = function() { console.log('Functionality to ru 阅读全文
posted @ 2021-05-17 10:49 六月雨 阅读(703) 评论(0) 推荐(0) 编辑
摘要: 1.前端Javascript 构建Form表单 FormPost: function (URL, PARAMS) { var me = this; var temp = document.createElement("form"); temp.action = URL; temp.id = "for 阅读全文
posted @ 2020-11-18 17:50 六月雨 阅读(186) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qqxyy99/article/details/79345898?utm_medium=distribute.pc_relevant_download.none-task-blog-baidujs-1.nonecase 阅读全文
posted @ 2020-10-16 09:08 六月雨 阅读(323) 评论(0) 推荐(0) 编辑
摘要: 文章转载自:https://www.cnblogs.com/miller-star/p/6394760.html 1.安装node.js(http://www.runoob.com/nodejs/nodejs-install-setup.html) 2.基于node.js,利用淘宝npm镜像安装相关 阅读全文
posted @ 2020-09-16 21:33 六月雨 阅读(3824) 评论(0) 推荐(1) 编辑
摘要: 转载自:https://blog.csdn.net/manmanwei/article/details/107686844?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-2.chann 阅读全文
posted @ 2020-09-16 21:01 六月雨 阅读(871) 评论(0) 推荐(0) 编辑
摘要: me.grid.getView().getRow(index).setAttribute('class', 'balance-grid-row-disabled x-grid-row'); 阅读全文
posted @ 2020-09-05 10:28 六月雨 阅读(462) 评论(0) 推荐(0) 编辑
摘要: 转载自:https://blog.csdn.net/qq_17505335/article/details/52538637?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~all~first_rank_v2~rank_ 阅读全文
posted @ 2020-08-10 17:20 六月雨 阅读(1054) 评论(0) 推荐(0) 编辑
摘要: 添加属性 selModel:new Ext.selection.CheckboxModel({ checkOnly: true }), me.grid = Ext.create('Ext.grid.Panel', { store: me.store, border: false, //selType 阅读全文
posted @ 2020-06-17 18:52 六月雨 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 添加监听事件:afterlayout listeners: { afterlayout: function (grid) { debugger; var records = grid.getStore().getRange(); for (var i = 0; i < records.length; 阅读全文
posted @ 2020-06-17 18:50 六月雨 阅读(367) 评论(0) 推荐(0) 编辑
摘要: // d: Mon Mar 09 2020 17:53:17 GMT+0800 (中国标准时间) function dateFormat(d){ var year = d.getFullYear(); var month = d.getMonth() + 1; var date = d.getDat 阅读全文
posted @ 2020-03-11 11:48 六月雨 阅读(1088) 评论(0) 推荐(0) 编辑