上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页
摘要: $("#offlineTable").datagrid("options").columns; //options表示easyui表格的设置,columns表示表头 $("#offlineTable").datagrid("getRows") //获取当前分页的行 图表转SVG /*图表转svg*/ 阅读全文
posted @ 2020-10-20 20:03 RookieCoderAdu 阅读(322) 评论(0) 推荐(0)
摘要: utils.datagridHeight = function (datagridType) { var w_height = $(window).height(); //子页面窗口高度 if (w_height < 500) { w_height = 500; } var h_header = $ 阅读全文
posted @ 2020-10-20 19:52 RookieCoderAdu 阅读(260) 评论(0) 推荐(0)
摘要: 必须使用datagrid-export.js,复制,粘贴 (function($){ function getRows(target){ var state = $(target).data('datagrid'); if (state.filterSource){ return state.fil 阅读全文
posted @ 2020-10-20 16:42 RookieCoderAdu 阅读(624) 评论(0) 推荐(0)
摘要: 我想要将highcharts图表的数据导入到表格,就可以使用这个方法。 还是初始化图表: var chart = Highcharts.chart('container', { title: { text: '2010 ~ 2016 年太阳能行业就业人员发展情况' }, subtitle: { te 阅读全文
posted @ 2020-10-20 10:54 RookieCoderAdu 阅读(449) 评论(0) 推荐(0)
摘要: 需要图表图片的话就导出成pdf 初始化图表 var chart = Highcharts.chart('container', { title: { text: '2010 ~ 2016 年太阳能行业就业人员发展情况' }, subtitle: { text: '数据来源:thesolarfound 阅读全文
posted @ 2020-10-20 10:49 RookieCoderAdu 阅读(247) 评论(0) 推荐(0)
摘要: html部分: <a href="javascript:;" type="button" id="export">导出</a> <table id="tableExcel"> <thead> <tr> <th>姓名</th> <th>IQ</th> </tr> </thead> <tbody> <t 阅读全文
posted @ 2020-10-19 18:02 RookieCoderAdu 阅读(1076) 评论(0) 推荐(1)
摘要: TimeSpan表示时间间隔,通常用作DateTime类的运算。 常见的TimeSpan用法如下: TimeSpan值包含了许多属性与方法,用于访问或处理一个TimeSpan值 下面的列表涵盖了其中的一部分: Add:与另一个TimeSpan值相加。 Days:返回用天数计算的TimeSpan值。 阅读全文
posted @ 2020-10-19 11:51 RookieCoderAdu 阅读(954) 评论(0) 推荐(0)
摘要: 【mongodb删除文档】 格式: db.collection.remove( <query>, { justOne: <boolean>, writeConcern: <document> } ) query:删除条件 justone:默认是false,删除所有匹配文档,设置成true或者1,则是 阅读全文
posted @ 2020-10-11 23:42 RookieCoderAdu 阅读(90) 评论(0) 推荐(0)
摘要: case when有两种用法: case 字段 when 值 then 值 when 值 then 值 end 或者 case when 条件 then 值 when 条件 then 值 end 综合实例: --根据int类型的值来显示文字-- select (case when REG_TypeI 阅读全文
posted @ 2020-10-09 14:09 RookieCoderAdu 阅读(739) 评论(0) 推荐(0)
摘要: 上一讲生成了mongodb服务,这里可以手动启动 方式;windows+R -> services.msc -> 找到mongodb并启动 或者以管理员身份启动cmd,输入net start mongodb 然后可以在cmd中输入mongodb的命令了。 首先输入mongo (输入之后才可以启动mo 阅读全文
posted @ 2020-10-08 23:34 RookieCoderAdu 阅读(139) 评论(0) 推荐(0)
上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 31 下一页