-
FEATURED COMPONENTS
First time here? Check out the FAQ!
the default .css images of the tree are not visible even on the tree demo on zkdemo. I can't find the last-close.gif, last.gif and others why is this? is there a way we can be able to see it?
There are no images in the tree demo, here is an example using the zkdemo that also uses a .css style to add an image
Cut and past this code into a zkdemo "try me" window and the first item will have a "folder" image.
Source <window title="tree demo" border="normal"> <style> .treeCellWithImage { background:URL(/zkdemo/img/folder.gif) no-repeat; } </style> <tree id="tree" width="90%" rows="5"> <treecols sizable="true"> <treecol label="Name"/> <treecol label="Description"/> </treecols> <treechildren> <treeitem> <treerow> <treecell sclass="treeCellWithImage" label="Item 1"/> <treecell label="Item 1 description"/> </treerow> </treeitem> <treeitem> <treerow> <treecell label="Item 2"/> <treecell label="Item 2 description"/> </treerow> <treechildren> <treeitem> <treerow> <treecell label="Item 2.1"/> </treerow> <treechildren> <treeitem> <treerow> <treecell label="Item 2.1.1"/> </treerow> </treeitem> <treeitem> <treerow> <treecell label="Item 2.1.2"/> </treerow> </treeitem> </treechildren> </treeitem> <treeitem> <treerow> <treecell label="Item 2.2"/> <treecell label="Item 2.2 is something who cares"/> </treerow> </treeitem> </treechildren> </treeitem> <treeitem label="Item 3"/> </treechildren> </tree> </window> Code
I think your missing my point here. Images are available before 3.0.6 even before 3.5.0 FL
Take a look at this http://www.zkoss.org/smalltalks/zkTreeModel/
You can see the dotted line images along with the + and - signs.
Where did those dotted lines go?
Anything I can do to show it? The tree looks a bit bland without it don't you think?
Asked: 2008-07-21 16:15:07 +0800
Seen: 132 times
Last updated: Jul 22 '08