I have a XamDataGrid with AutoGenerateFields="False". I'm defining the layout with a few fields initially hidden. In repsonse to a user action I unhide these fields. The way I do that is by looping throught the fields of the grid's FieldLayout reference and setting the relevant field's Visibility to Visible.
However for a few of our users (a small set to be honest) the fields are not becoming visible. Can you please give me some pointers to investigate/fix this issue?
Thanks,
Joe
Hello Joe,
If this can be reproduced only by toggling the visibility property and only happens to specific users, then it sounds like it is specific to their environment. This could be a potential issue, but we have to know their environment so that we can test this and reproduce as well.
Sure, what sort of environment / any other details would you need?
Information like OS version, Service Packs, dll build versions of our controls and anything else that might have effect on this.
Joe,
I tested this using XP Service pack 3 but I was not able to reproduce this. I am attaching the sample project that I am using in my attempts. Please let me know if there is anything different in both scenarios.
A hint from our developers was that you can check the VisiblityResolved property of the Field so that you can check if the XDG thinks it's visible. The next thing to check is the ActualPosition property and see if fields are overlapping.
Thanks Alex ! Pls let me know.
I think I have a similar setup at hand. I will test that and let you know if i am able to reproduce this.
Alex,
Following are some of the parameters from the user's m/c:
-----------------------------------------------------------
Hardware Details:
PhysicalMemory='1.98 GB' SystemType='X86-based PC' NumberOfProcessors='1' ProcessorClockSpeed='2.128 GHz'
OS Details:
OS='Microsoft Windows XP Professional' , Version='5.1.2600' , ServicePackMinorVersion='0' , ServicePackMajorVersion='3'
IG assemblies:
Infragistics3.Wpf.v9.2-9.2.20092.2023;Infragistics3.Wpf.DataPresenter.v9.2-9.2.20092.2023;
Do let me know if you need any other details.
Thanks !