05 2013 档案
摘要:easyui datagrid查询时需要动态生成列,网上收集了一些资料,最终实现和大家分享一下:JS脚本:var grid; $(function(){ grid = $('#tt').datagrid({ fit: true,//自动大小 rownumbers:true,//行号 //loadMsg:'数据装载中......', singleSelect:true,//单行选取 pagination:false,//显示分页 columns:[[...
阅读全文
摘要:function closeCurrWindow(){ var browserName=navigator.appName; alert(browserName); if (browserName=="Netscape") { window.open('','_self',''); window.close(); } else if (browserName=="Microsoft Internet Explorer") { window.opener = "whoCares"; ...
阅读全文