修改图标如下显示
这样做的目的是方便动态修改图标样式
这些就是你需要定义的样式
.icon-undo {
background:url('/static/jquery-easyui/themes/icons/undo.png') no-repeat center center !important;
}
node节点定义
{
id: 1,
text: '小牛',
state: 'closed',
attributes: {lsh:1,aa:'s'},
iconCls: 'icon-undo',//你定义的css
}
这个图标是不能穷举的,改法有限
主要添加!important样式
让自己设置的样式显示,其他class都屏蔽