Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

TreeGrid with no icons impossible?

$
0
0
Hi everyone.

I am using SmartGWT 4.0 and I want to create a simple tree structure where you can select only the leaf nodes with checkboxes. I don't need any icons for the folders or leafs.

I can not figure out how to get rid of the icons. I managed to get rid of the folder/parent icons by doing:
Code:

treeGrid.setFolderIcon(null);
But now the headers are placed ca. 20px to far to the right.

I have also tried:
Code:

treeGrid.setIconSize(0);
...but then my leaf checkboxes vanish.

Is this simply not supported?

Viewing all articles
Browse latest Browse all 4756

Trending Articles