Hello,
is there a way to avoid collapsing and/or expanding tree items depending on the value of a property from the data model ?
Additionally a feature request would be helpful: E.g.
Model:
class Node {
public int Id {get;set;}
public int ParentId {get;set;}
public string Name {get;set;}
public bool IsExpanded {get;set;}
public bool IsCollapsed {get;set;}
public bool CanExpanded {get;set;}
public bool CanCollapsed {get;set;}
}
Bind properties IsExpanded/IsCollapsed to the tree => OnInitial render the node is expanded/collapsed
Bind properites CanExpanded/CanCollapsed to the tree => able to expand/collapse a tree node (and render the indicator differently)