This discussion is archived
2 Replies Latest reply: Mar 1, 2013 10:39 PM by Bluewizard RSS

CheckBoxTreeItem Expansion

Bluewizard Newbie
Currently Being Moderated
Hi,

Is there a way to stop the expansion of non-leaf node CheckBoxTreeItem when the check box is clicked. Some of our trees are very large and we don't want the sub tree nodes expanded.

Thanks.
  • 1. Re: CheckBoxTreeItem Expansion
    JonathanGiles Journeyer
    Currently Being Moderated
    I'm the developer behind this code but I had to go and double check this as I had no recollection of configuring the tree code to expand when the checkbox is selected. Fortunately for my sanity it appears I never did write that code - in my test app the tree items do not expand / collapse when the check is toggled. Perhaps you have code in your application that responds to the change in checked state and expands / collapses the branches? If not, please provide a simple test application that I can use to recreate the issue.

    Thanks,
    -- Jonathan
  • 2. Re: CheckBoxTreeItem Expansion
    Bluewizard Newbie
    Currently Being Moderated
    Hey Jonathan,

    Thanks for the clue - I did found a 'select' that was selecting the tree item and causing the branch to expand.

    Thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points