istristatemode different for different part of the treeview ?

2 posts, 0 answers
  1. Aurore
    Aurore avatar
    58 posts
    Member since:
    Nov 2007

    Posted 22 Apr 2011 Link to this post


    I use a treeview with IsTristatemode="true", and binding CheckState property, all work's fine. For 90% of my nodes.

    I have some particular nodes that are represented as hierarchical but they are not. In other word "Parts" need to behave "hierarchically", but Variable_other not.

    I'd like to obtain these configurations :

    [-] Part1
    | -- [ ] Variable1
    | -- [x] Variable2_other
           |-- [ ] Variable3
    | -- [ ] Variable4

    [-] Part1
    | -- [ ] Variable1
    | -- [ ] Variable2_other
           |-- [x] Variable3
    | -- [ ] Variable4

    I've tried to set IsTristatemode to false, but because of hierarchy, if I check "Variable3", "Variable2_other" is automatically checked and tristate indeterminate is not shown for Part (whereas i set in code the null value for checkstate).


  2. Petar Mladenov
    Petar Mladenov avatar
    3154 posts

    Posted 27 Apr 2011 Link to this post

    Hi Aurore,

    You can check out this forum post and my last post from today. Let us know if you need more info.

    Petar Mladenov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top