How to modify the small icon of ExtJS:TreePanel through CSS style
This article introduces the knowledge of "how to modify the small icon of ExtJS:TreePanel through CSS style". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Write it in the html tag.
The code is as follows:
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)
}
This is the end of the content of "how to modify the small icon of ExtJS:TreePanel through CSS style". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!