摘要: 源码中内容:cell.css("text-align",(col.halign||col.align||""));这里有个属性挺眼熟 : col.align前面还有一个: col.halign可以使用此属性实现该功能。代码如下:标题其中 align:'left' 控制内容居左 , halign: '... 阅读全文
posted @ 2015-04-22 09:43 我知道你的存在 阅读(4752) 评论(0) 推荐(0) 编辑
摘要: HTML 123 123 123 ... 阅读全文
posted @ 2015-04-17 14:03 我知道你的存在 阅读(1338) 评论(0) 推荐(0) 编辑
摘要: HTML客户名称JS$("#enterprise").combogrid({ panelWidth: 400, idField: 'id', textField: 'enterprise', url: '../_Datas/xxx/xxx.ashx?o=getmemberby... 阅读全文
posted @ 2015-04-04 10:50 我知道你的存在 阅读(208) 评论(0) 推荐(0) 编辑
摘要: $.fn.menu.defaults={zIndex:110000,left:0,top:0,alignTo:null,align:"left",minWidth:120,itemHeight:32,查找这段代码。修改itemHeight的值。 阅读全文
posted @ 2015-04-01 15:01 我知道你的存在 阅读(1217) 评论(0) 推荐(0) 编辑
摘要: $(".centertool").accordion("getPanel", 0).panel("setTitle", "联系人:").accordion("getPanel", index) 获取要修改的Panel,调用setTitle方法。 阅读全文
posted @ 2015-03-25 14:19 我知道你的存在 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 加 Accordion 通过火狐等工具可以知道标题栏上右边的箭头是 实现:var tools = $(".centertool").find(".panel-tool");$(tools[0]).before("查询关联 联系人");$("#aLinkSearch").clic... 阅读全文
posted @ 2015-03-24 14:06 我知道你的存在 阅读(590) 评论(0) 推荐(0) 编辑
摘要: public static T ConvertToModel(this DataRow dr) { T t = Activator.CreateInstance(); //创建实例 PropertyInfo[] pi = t.GetType().GetProper... 阅读全文
posted @ 2015-03-19 14:17 我知道你的存在 阅读(2352) 评论(0) 推荐(0) 编辑
摘要: showTip($("#linkman"), "联系人姓名不能为空!");$("#linkman").focus().change(function () { $(this).tooltip('destroy');});function showTip(o , s) { o.toolti... 阅读全文
posted @ 2015-03-19 09:14 我知道你的存在 阅读(454) 评论(0) 推荐(0) 编辑
摘要: $("#dlg").dialog({ modal: true, draggable: false, resizable: false, title: false, shadow: false});$("#dlg").parent().css("padding", "0"... 阅读全文
posted @ 2015-03-18 15:29 我知道你的存在 阅读(1032) 评论(0) 推荐(0) 编辑
摘要: 1 var IsCheckFlag = true; //标示是否是勾选复选框选中行的,true - 是 , false - 否 2 $("#dg").datagrid({ 3 rownumbers:true, 4 url: 'LeadsData.ashx?o=list', 5 ... 阅读全文
posted @ 2015-03-14 15:07 我知道你的存在 阅读(10579) 评论(0) 推荐(1) 编辑