Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
414
How to make the Expanded/Collapsed Icons of treenodes clickable?
posted

We use the xamDataTree 2012.2 with <ig:NodeLayout.ExpandedIconTemplate> and CollapsedIconTemplate. Now the tree runs fine except the displayed Icons are not clickable (like it is in the MS TreeView), I only can click to the node caption(s) to select one. But: if I don't have a caption, how do I select the node?

Any simple solution like a property "NodeIconClickable = true" ?

TorstenR

Parents
No Data
Reply
  • 30945
    Verified Answer
    Offline posted

    Hello Torsten,

     

    Thank you for your email. I have been looking into your question and I can suggest using the MosueMeftButtonDown event of the root item in the icon templates, in order to select the node, when you click on it. I have created a sample application for you, that shows how you can implement this approach.

     

    Please let me know if you need any further assistance on the matter.

     

    Sincerely,

    Krasimir

    Developer Support Engineer

    Infragistics

    www.infragistics.com/support

    SelectNodeByIconClick.zip
Children