09 2016 档案

摘要:今天使用EasyUI的datagrid时发现首次打开页面时onLoadSuccess方法执行了两次。后来发现主要问题是datagrid被初始化了两次。主要原因是一开始html中声明了dg为easyui-datagrid控件。 <table align="center" id="dg" class=" 阅读全文
posted @ 2016-09-21 17:30 小小高 阅读(6594) 评论(0) 推荐(1) 编辑
摘要:yAxis: [ { type: 'value', name: '雨量(mm)', nameLocation: 'start', inverse: true, axisLabel: {... 阅读全文
posted @ 2016-09-20 17:34 小小高 阅读(8795) 评论(0) 推荐(0) 编辑
摘要:调用 reservedDecimal(10,2); 输出 "10.00" 输出 "10.00" 输出 "10.00" 阅读全文
posted @ 2016-09-20 17:32 小小高 阅读(5281) 评论(0) 推荐(0) 编辑
摘要:IE 9: IE 10: IE 11: 执行完dos后(dos命令执形时报错不用管),请重启电脑。 ie卸载工具: http://files.cnblogs.com/files/gaocong/RemoveIE.zip 手动卸载更新: win+r appwiz.cpl已安装更新中找到对应更新。如卸载 阅读全文
posted @ 2016-09-18 10:22 小小高 阅读(393) 评论(0) 推荐(0) 编辑
摘要:参考 http://developer.baidu.com/map/jsdemo.htm#a1_2 阅读全文
posted @ 2016-09-07 10:54 小小高 阅读(522) 评论(0) 推荐(0) 编辑
摘要:/*********************** * 函数:判断滚轮滚动方向 * 作者:gc * 参数:dom对象 callback回调函数 * 返回:滚轮方向 1:向上 -1:向下 regScroll(document.getElementById("dituContent")); *... 阅读全文
posted @ 2016-09-07 10:33 小小高 阅读(422) 评论(0) 推荐(0) 编辑
摘要:create proc [dbo].[messageMgr] @pageSize int, @pageIndex int, @rcount bigint output--输出查询总记录数 as begin declare @startRowNum int; declare @endRowNum int; set @startRowNum=@pageSize*(@pageI... 阅读全文
posted @ 2016-09-06 14:16 小小高 阅读(210) 评论(0) 推荐(0) 编辑
摘要:依赖:http://files.cnblogs.com/files/gaocong/echarts.js 阅读全文
posted @ 2016-09-02 11:32 小小高 阅读(1407) 评论(0) 推荐(0) 编辑
摘要:html js 阅读全文
posted @ 2016-09-02 11:28 小小高 阅读(324) 评论(0) 推荐(0) 编辑
摘要:PIVOT的一般语法是:PIVOT(聚合函数(列) FOR 列 in (…) )AS P 完整语法: table_source PIVOT( 聚合函数(value_column) FOR pivot_column IN(<column_list>) ) 阅读全文
posted @ 2016-09-02 11:22 小小高 阅读(203) 评论(0) 推荐(0) 编辑
摘要:js 后台 根据父id返回当前子节点就好了。(父id为0时返回根节点) json示例 [ { "id": "2", "text": "监事会", "state": "closed" }, { "id": "4259045978553", "text": "2", "state": "open" }, 阅读全文
posted @ 2016-09-02 11:15 小小高 阅读(283) 评论(0) 推荐(0) 编辑
摘要:static void Main(string[] args) { int[] arr = {4, 5, 6, 1 }; foreach (var item in arr) { Console.Write(item+"\t"); } ... 阅读全文
posted @ 2016-09-01 17:19 小小高 阅读(139) 评论(0) 推荐(0) 编辑
摘要:string str="{\"size\":15,\"query\":{\"match\":{\"data.query.match.promotionInfo.query\":{\"boost\":1.3,\"type\":\"phrase\",\"query\":\"销售1\"}}}}"; var obj = JObject.Parse(str); ... 阅读全文
posted @ 2016-09-01 16:24 小小高 阅读(239) 评论(0) 推荐(0) 编辑

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