通过CSS样式来修改ExtJS:TreePanel的小图标
(编辑:jimmy 日期: 2024/10/31 浏览:2)
写在html<head>标签里面,
复制代码代码如下:
<style type="text/css">
.x-tree-node-collapsed .x-tree-node-icon {
background:transparent url(web/css/images/default/tree/1.gif);
}
.x-tree-node-expanded .x-tree-node-icon {
background:transparent url(web/css/images/default/tree/drop-no.gif);
}
.x-tree-node-leaf .x-tree-node-icon{
background:transparent url(web/css/images/default/tree/2.gif);
}
</style>