随笔分类 -  Jquery_Easy ui

摘要://Easy ui datebox 控件//在页面加载事件中绑定这个格式化方法 $(function () { $('#StartTime').datebox({ formatter: function (date) { return date.format("yyyy"); }, }) ;} 阅读全文
posted @ 2013-08-14 17:14 Elite_Y 阅读(2938) 评论(0) 推荐(0) 编辑
摘要:nowrap: true,onLoadSuccess: function (data) { $(this).datagrid('doCellTip', { 'max-width': '700px', 'delay': 500 }); },//更改easy ui datagrid属性 // $(this).datagrid('doCellTip', { 'max-width': '700px', 'delay': //500 }); 是easy ui datagrid扩 阅读全文
posted @ 2013-04-19 14:43 Elite_Y 阅读(2349) 评论(0) 推荐(1) 编辑
摘要:<tr> <th data-options="field:'itemid',width:80">Item ID</th> <th data-options="field:'productid',width:100,formatter:productFormatter, editor:{ type:'combobox', options:{ ... 阅读全文
posted @ 2013-04-10 10:17 Elite_Y 阅读(9928) 评论(0) 推荐(0) 编辑
摘要:{ field: 'ObtainCert', title: "是否获证", width: 50, editor: { type: 'checkbox', options: { on: 1, off: 0 ... 阅读全文
posted @ 2013-04-04 16:48 Elite_Y 阅读(8506) 评论(0) 推荐(0) 编辑
摘要:$('#Id号').combobox('enable');//可用$('#Id号').combobox('disable');//不可用 阅读全文
posted @ 2013-02-22 09:45 Elite_Y 阅读(13296) 评论(1) 推荐(0) 编辑
摘要:由于easy ui问题 在处理时间问题 不是很好 所以碰见这个时间格式化问题很棘手新手在用easy ui 时碰见了 会出现"/Date(1359624681687)/“ 这种问题 好 不多说 上代码页面// 对Date的扩展,将 Date 转化为指定格式的String// 月(M)、日(d)、小时(h)、分(m)、秒(s)、季度(q) 可以用 1-2 个占位符, // 年(y)可以用 1-4 个占位符,毫秒(S)只能用 1 个占位符(是 1-3 位的数字) // 例子: // (new Date()).Format("yyyy-MM-dd hh:mm:ss.S") 阅读全文
posted @ 2013-01-31 18:05 Elite_Y 阅读(4188) 评论(4) 推荐(0) 编辑
摘要:public ActionResult DownloadFiles(int Id) { var client = new SysModuleServiceReference.SysModuleServiceClient(); FilesDTO files = client.GetFiles(Id); // 根据id查找文件名 内容字节数组 GZip zip = new GZip(); // 解压包类 files.FileContent = zip.Decomp... 阅读全文
posted @ 2013-01-24 09:15 Elite_Y 阅读(2876) 评论(0) 推荐(0) 编辑

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