Hi,
I notice that if I have my xamDataGrid set to use external sorting, calling Records.ExpandAll(recurisve: true) will not expand the records, whereas if I don't use external sorting, Records.ExpandAll(recurisve: true) works fine. Is this expected?
Thanks,
Harold
Thanks Nick! That works!
Hello Harold,
Thank you for the modified application and the recording, which you have sent.
In this scenario you can use Dispatcher and call ExpandAll from it. Following this approach I have modified the application.
If you have further questions concerning this matter please let me know.
Attached is the recording.
Hi Nick,
Sorry for the late reply. I haven't got a chance to look at your sample until now. Attached is the modified project to show you the problem I'm having. Here's what I changed:
Steps to reproduce:
Attached is also a video recording demonstrating the problem.
We are using 15.2 of the WPF Infragistics control.
I followed the steps you suggested and was unable to reproduce the behavior you're describing about external sorting and using Records.ExpandAll(true).
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, then the change in behavior is due to differences in your environment from mine and these differences can be anything from operating system version to the specific version of the Imagistics DLL versions used. My test was performed using version 16.2.20162.1006 and 16.2.20162.2109 in WPF product.
If the project does show the product feature working correctly, then more information will be needed to reproduce the issue in a sample that can be used for debugging. It will help if you can provide a small, isolated sample application that demonstrates the behavior you are seeing. This can be done by either making the sample that I provided more like your application or by isolating the behavior from your application by removing dependencies on any third parties or databases.
Please let me know if I can provide any further assistance.