easyui tree 当中去掉icon图片,类型文件夹的那些东西
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了easyui tree 当中去掉icon图片,类型文件夹的那些东西相关的知识,希望对你有一定的参考价值。
using("tree",function()
$(".menu_left .tree").tree(
使用上面的方式动态引入树的js css的
加个什么参数可以让这个文件夹的图标消失
11
要jQ找到那个class="tree-icon tree-file"来remove()掉才可.
code:$("#conditionTree span[class^='tree-icon tree-file']").remove();
//conditionTree 是你的树ID。
easyui tree 更改图标
easyui tree 更改图标
,onLoadSuccess: function (node, data) { $(‘#tt .tree-icon‘).css("background", "url(/Assets/jquery-easyui-1.5/themes/icons/man1.png) no-repeat center center"); }
以上是关于easyui tree 当中去掉icon图片,类型文件夹的那些东西的主要内容,如果未能解决你的问题,请参考以下文章