摘要:
table.on('checkbox(table-id)', function(obj){ console.log(obj.checked); //当前是否选中状态 console.log(obj.data); //选中行的相关数据 console.log(obj.type); //如果触发的是全选 阅读全文
摘要:
Navicat连接MySQL Server8.0版本时出现Client does not support authentication protocol requested by server;解决如下: 解决 参考:https://www.cnblogs.com/zichuan/p/9203129 阅读全文
摘要:
<div style=" overflow-y:auto; overflow-x:auto; width:400px; height:400px;”></div> 记住宽和高一定要设置噢,否则不成的 这样比较好的是,在宽和高不超出时,只是一条线 直接为div指定overflow属性为auto即可,但 阅读全文
摘要:
1。如果格林威治时间时间是date类型。(这种格式最简单) SimpleDateFormat df = new SimpleDateFormat("yyyyMMdd"); Date d=new Date(); System.out.println("格林威治时间:"+d); String s=df. 阅读全文
摘要:
excel方法:public class ExcelUtil { public void exportExcel(XSSFWorkbook workbook, int sheetNum, String sheetTitle, String[] headers, List<List<String>> 阅读全文