Announcement

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

    setIcon for specific node in a TreeGrid

    Hello, i have a TreeGrid variable and although i set all nodes of the tree to have a icon with setNodeIcon(icon) i want one specific node to have a different icon2.I have tried to setting it when i place the treenode and could not work,I also try to find a optimal solution so not set each node icon statically every time i add one.

    #2
    You can set TreeNode.icon if the icon doesn't change, or override TreeGrid.getIcon() to do whatever you want.

    Comment

    Working...
    X