Been trying to load and save customizations but it appears as though field visibility is not saved in the XML string. I am giving my users the option to change column visibility and it would have been nice to be able to save this customized info.
Am I missing something?
"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<xamDataPresenter version=\"8.2.20082.1002\">\r\n <fieldLayouts>\r\n <fieldLayout key=\"SitMessage\">\r\n <fields>\r\n <field name=\"SourceName\" />\r\n <field name=\"SourceId\" />\r\n <field name=\"DestinationId\" />\r\n <field name=\"DestName\" />\r\n <field name=\"RouteLink\" />\r\n <field name=\"Retries\" />\r\n <field name=\"Type\" />\r\n <field name=\"Id\" />\r\n <field name=\"MessageNumber\" />\r\n <field name=\"Status\" />\r\n <field name=\"ReceiveTime\" />\r\n <field name=\"TransmitTime\" />\r\n <field name=\"QueuedTime\" />\r\n <field name=\"FailureTime\" />\r\n <field name=\"Title\" />\r\n <field name=\"Direction\" />\r\n <field name=\"Message\" />\r\n <field name=\"Key\" />\r\n <field name=\"Directory\" />\r\n <field name=\"Filename\" />\r\n <field name=\"TimeStamp\" />\r\n </fields>\r\n </fieldLayout>\r\n <fieldLayout key=\"Object\" />\r\n </fieldLayouts>\r\n</xamDataPresenter>"
Hello,
Here is an article about the SaveCustomization method of the xamDataGrid.
http://help.infragistics.com/Help/NetAdvantage/WPF/2008.2/CLR3.X/html/xamData_Save_Field_Customizations.html
Saving of the Visibility property is not supported. You can manually try to save this property with custom code.
Alex,
This above link appears to have expired. Do you know if there is an example like it available elsewhere? I too have a tab control and need to bounce back and forth on tabs without losing previous settings.
Thanks,
Glenn