Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TreeNode without icon

    Hey,

    Is there a possibility to get a TreeNode (as part of a TreeGrid) without any icon in front?

    I tried the following:
    Code:
    treeGrid.setNodeIcon("");
    treeGrid.setFolderIcon("");
    Code:
    treeNode.setIcon("");
    those don't work. Then there is no icon, but the word "icon_1" in front.
    i tried IE and Firefox.

    Thanks, GG
    Last edited by GilbertGrape; 21 Jul 2011, 01:22.

    #2
    This worked fine for me:

    Code:
    treeGrid.setShowOpenIcons(false);
    treeGrid.setShowDropIcons(false);
    treeGrid.setNodeIcon(null);
    treeGrid.setFolderIcon(null);

    Comment


      #3
      Originally posted by mishamo
      This worked fine for me:

      Code:
      treeGrid.setShowOpenIcons(false);
      treeGrid.setShowDropIcons(false);
      treeGrid.setNodeIcon(null);
      treeGrid.setFolderIcon(null);
      Thanks! This works perfect.

      Comment

      Working...
      X