正在加载...
博主呓语:

置顶日志 关于学习Easyui

Posted by ____′↘夏悸 on 2021-8-26 15:26 Thursday
讨论学习群:
142872541(一)
47729185(二)
70168958(500人超级群)
腾讯微博:http://t.qq.com/easyui
简单桌面版:http://easyui.sinaapp.com/
欢迎个为筒子加入讨论!!!!!!!!!

阅读全文>>

标签:

置顶日志 sypro系统v2.0版,使用spring+hibernate+easyui

Posted by Universe on 2011-12-23 12:57 Friday
http://bbs.btboys.com/thread-htm-fid-10.html 请到论坛下载

阅读全文>>

easyui 扩展 之 Tree的simpleData加载

Posted by ____′↘夏悸 on 2012-5-2 22:37 Wednesday

这是基于1.2.6的tree新增的loadFilter功能的一个扩展。大家都喜欢ztree的简单数据结构(扁平pid结构数据集,也就是id,pid形式),于是1.2.6有了loadFilter之后,我们可以很简单的就实现了。(这里要赞一下easyui的作者,对于架构的开闭原则做的很到位。)(请注意本扩展基于1.2.6的easyui

 

源码:详细介绍

$.fn.tree.defaults.loadFilter = function (data, parent) {
	var opt = $(this).data().tree.options;
	var idFiled,
	textFiled,
	parentField;
	if (opt.parentField) {
		idFiled = opt.idFiled || 'id';
		textFiled = op...

阅读全文>>

easyui tips 插件

Posted by ____′↘夏悸 on 2012-5-1 21:39 Tuesday

源码:演示地址

/**
 * 扩展 jQuery EasyUI tips
 * 
 *  http://bbs.btboys.com
 */
(function ($) {

	function init(target) {
		var opt = $.data(target, "tips").options;
		var tips = $(".easyui-tips-hover");
		if(tips.length == 0){
			tips = $("<div/>").css({
				"position":"absolute",
				"border-radius":"5px",
				"-webkit-border-radius":"5px",
				"-moz-border-radius"...

阅读全文>>

jQuery easyui 入门视频

Posted by ____′↘夏悸 on 2012-4-26 22:11 Thursday

jQuery easyui 入门视频,本视频主要是针对人们级别的人员观看。

 

下载地址:http://bbs.btboys.com/read-htm-tid-126.html

阅读全文>>

easyui toolbar 插件

Posted by ____′↘夏悸 on 2012-4-19 22:43 Thursday

源码:

(function ($) {
	function init(target) {
		var opt = $.data(target, "toolbar").options;
		
		$.each($(target).children(), function () {
			var itemOpt = parseOptions($(this));
			opt.items.push(itemOpt);
		});
		
		if (!opt.items)
			return;
			
		$(target).empty();
		
		if (opt.randerTo) {
			$(target).appendTo(opt.randerTo);
		}
		
		$(target).css({
			height: 28,
			bac...

阅读全文>>

jQuery EasyUI 1.2.6低调发布

Posted by ____′↘夏悸 on 2012-4-17 23:16 Tuesday

Current Version: 1.2.6

ChangeLog

Bug
  • tabs: Call 'add' method with 'selected:false' option, the added tab panel is always selected. fixed.
  • treegrid: The 'onSelect' and 'onUnselect' events can't be triggered. fixed.
  • treegrid: Cannot display zero value field. fixed.
Improvement
  • propertygrid: Add 'expandGroup' and 'collapseGroup' methods.
  • layout: Allow users to create collapsed layout panels by a...

阅读全文>>

easyui1.2.6更新日志

Posted by ____′↘夏悸 on 2012-3-26 20:46 Monday
Version 1.2.6
-------------
* Bug
* tabs: Call 'add' method with 'selected:false' option, the added tab panel is always selected. fixed.
* treegrid: The 'onSelect' and 'onUnselect' events can't be triggered. fixed.
* Improvement
* propertygrid: Add 'expandGroup' and 'collapseGroup' methods.
* layout: Allow users to create collapsed layout panels by assigning 'collapsed' property to tru...

阅读全文>>

easyui区间验证写法

Posted by ____′↘夏悸 on 2012-3-26 11:59 Monday

首先,扩展$.fn.validatebox.defaults.rules

$.extend($.fn.validatebox.defaults.rules, { 
    isAfter: { 
        validator: function(value, param){ 
			var dateA = $.fn.datebox.defaults.parser(value);
			var dateB = $.fn.datebox.defaults.parser($(param[0]).datebox('getValue'));
			return dateA>new Date() && dateA>dateB;
        }, 
        message: 'The date is not later than today...

阅读全文>>

$.messager.show扩展:指定位置显示

Posted by 風亦飛 on 2012-3-21 14:49 Wednesday
function showBySite(event){
	var element = document.elementFromPoint(event.x,event.y);//获取点击对象
	$.messager.showBySite({
		title:'My Title',
		msg:'Message.',
		showType:'show'
	},{
		top : $(element).position().top+$(element).height(),//将$.messager.show的top设置为点击对象之下
		left : $(element).position().left,//将$.messager.show的left设置为与点击对象对齐
		bottom : ""
	});
}

开发时,客户要求在datagrid工具栏加个“帮...

阅读全文>>