关于学习Easyui
Posted by ____′↘夏悸 on 2021-8-26 15:26 Thursday
讨论学习群:
142872541(一)
47729185(二)
70168958(500人超级群)
欢迎个为筒子加入讨论!!!!!!!!!
标签: Easyui群
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
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工具栏加个“帮...
更多交流,请关注社区
支持本站
关注easyui学习班
Easyui讨论社区群
-
142872541(一群)
47729185(二群)
70168958(500人群)
分类
最新评论
存档
链接
标签
站长统计
