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
185
Tree expanding problem
posted

Hello there,

i have a view with 3 xamTreeGrids. And i have a function which is selecting a certain record in each of this trees and also expands the trees in such a way that one can see the selected record.

So far everything works perfectly fine. But if i close the root of such a selected record by pressing on the "-" in the view, searching again does not work properly, because the function is not able to expand the tree anymore.

It seems like pressing the "-" doesn't set IsExpanded to false, which my function is using to expand the tree before.

So my question is, how can I expand the tree again, after a user pressed the "-" in the code (/C#), because it looks like IsExpanded is still true?

Thanks in advance!

Parents
  • 34830
    Offline posted

    Hello Rene,

    I have been investigating into this issue that you are seeing, and as of yet, I cannot seem to reproduce this behavior that you are seeing with the XamTreeGrid's record expansion. I have created a sample project with a single XamTreeGrid with a button that expands records in the grid programmatically. In doing this, I have been keeping an eye on the record's IsExpanded property, and it appears to always correctly reflect the IsExpanded state on my end.

    I have attached the sample project I used to test this.  Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.

    If the project does not work correctly, this indicates either a problem possibly specific to your environment, or a difference in the DLL versions we are using.  My test was performed using version 16.1.20161.2056 in Infragistics for WPF 2016 Volume 1.

    If the project does show the product feature working correctly, this indicates a possible problem in the code of your application.  It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing.

    Or, if this sample project is not an accurate demonstration of what you're trying to do, please feel free to modify it and send it back, or send a small sample project of your own if you have one.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer

    XamTreeGridExpansionIssueTest.zip
Reply Children
No Data