06 2020 档案

poi导出excel根据列合并单元格
摘要:业务需求是要求把一个树结构的数据导出成excel格式的文件,大概是这样的: 上代码: /** * 用于保存需要合并的单元格 */ public class MergeModel { private String content;//内容 private int rowIndex;//记录相同内容的开 阅读全文

posted @ 2020-06-28 23:23 胜者为王东恺 阅读(1635) 评论(0) 推荐(0) 编辑

Ztree中去掉节点前面的+-图标
摘要:在css中添加:.ztree li span.button.switch.level0 {display:none;} 官方文档:http://www.treejs.cn/v3/api.php 阅读全文

posted @ 2020-06-19 15:14 胜者为王东恺 编辑

判断字符串是不是以某个字符串开头
摘要:String.startsWith(String prefix) 例: String str1 = "abcdefg"; str1.startsWith("a");//true 阅读全文

posted @ 2020-06-19 15:09 胜者为王东恺 编辑

jQuery 页面加载完成时执行
摘要:1. $(document).ready(function (){ });2. $(function(){ });3. window.onload = function(){ }; 阅读全文

posted @ 2020-06-19 14:58 胜者为王东恺 阅读(161) 评论(0) 推荐(0) 编辑

eclips设置工作空间编码字符集
摘要:打开Window->Preferences,选择General->Workspace 下面的Text file encoding ,勾选Other,选择字符集,保存退出。 阅读全文

posted @ 2020-06-19 14:47 胜者为王东恺 编辑

css笔记
摘要:background:rgb(255,255,255);/* 背景色 */ display:inline-block;/* 行内块 */ font-size:16px;/* 字体大小 */ font-weight: 700;/* 字体粗细 */ text-align:center;/* 文字水平居中 阅读全文

posted @ 2020-06-17 11:32 胜者为王东恺 编辑

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