Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

How to hide Tree arrow

Timo Ratilainen
1 decade ago Mar 02, 2011 11:34am
Jouni Koivuviita
1 decade ago Mar 02, 2011 3:21pm
Sicco Naets
1 decade ago Mar 15, 2011 5:53pm
Sicco Naets
1 decade ago Mar 15, 2011 6:00pm

Found it, I had to define the style like this:

.v-tree-node-no-children
{
	background: none;
	
	
}
saurabh amin
7 years ago Jan 05, 2016 9:19am

This works too,

treetable.setChildrenAllowed("itemID", false);

provided you dont want to add any further child to that node.

or else the css method mentioned by Sicco would work too.