3.2.0

tree borders

is there a way to not have borders on the children of a tree but have the borders seperating the parents?

like

parent
------
parent
child
child
child
------
parent
Ryan Garabedian
July 14,
Do you mean border only on elements which have children ('folders')?

#myTree .aw-tree-folder {
border-top: 1px solid red;
}
Alex (ActiveWidgets)
July 15,
almost, i have a list of current inventories for different companies and previous inventories ones that are in the respective branch. that fix only doesnt work with the companies that only have one inventory so far.
In other words some of the "parents" dont have children yet they are all just links to current(parents) or past(children) invnetory.

hope that helps some.

+parent
------
+parent
child
child
child
------
parent(no children here)
-------
+parent
Ryan Garabedian
July 15,
ok, so if there isn't one line that can do all i need is there a way to set the border of only one row of the tree, then i can manually add my lines where i want them.

something like this but for just one row not the whole tree.

tre.setStyle("border-left", "1px solid black");
Ryan Garabedian
July 21,
nvm i got it

for(c = 0; c < reborder.length-1; c++)
        tre.getItemTemplate(reborder[c]).setStyle("border-top", "1px solid black");
Ryan Garabedian
July 21,

This topic is archived.

See also:


Back to support forum