Hi, I'm using infragistics version 17.1.20171.2074
I'm using the DisplayLaout to save and load changes made to the grid (filter, pin, sort ...) and it all works fine; except for the column order when manually dragging it around to rearrange the column orders. Any ideas why? Is this a bug on the version I'm using?
my code saves using:
myGrid.DisplayLayout.Save(fileLayout);
and loads using:
myGrid.DisplayLayout.Load(layoutFileStream);myGrid.DisplayLayout.Override.AllowMultiCellOperations = AllowMultiCellOperation.All;
Thank you
Hello,
I have created a small sample trying to reproduce the described behavior. I am using Infragistics WindowsForms v19.2 and additionally tested the sample with v17.1.20171.2108 which is the last available service release for this version. On my side, everything works and expected and I am able to load the grid's columns in correct order after saving it using both versions. I am testing the sample in Visual Studio 2017.
Attached you will find my sample for your reference. Please test it on your side and let me know how it behaves. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce. Alternatively, if the behavior cannot be replicated please feel free to provide your own sample. Remove any external dependencies and code that is not directly related to the issue, zip your application and attach it in this case.
If the provided sample is an accurate demonstration of your requirement and does not work as expected on your side I can suggest trying to upgrade to v17.1.20171.2108 as first step.
Having a working sample on my side, which I can debug, is going to be very helpful in finding the root cause of this behavior.
Thank you for your cooperation.
Looking forward to hearing from you.
Sincerely,
Teodosia Hristodorova
Associate Software Developer
1258.UltraGrid_Save_Load.zip
Thank you Teodosia,
After isolating the functionality I confirmed it works fine. My application was doing something afterward and changing the order back to the default order