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
95
SaveAsXml(PropertyCategories.SortedColumns) saves everything?
posted

Hi,

 I am trying to use the SaveAsXml function to ONLY save the position and widths of columns.  I do not want to save any other properties of the grid, e.g. DisplayLayout, GroupByBox, UltraGridOverride etc.

I want to save *just* UltraGridColumns, so that future code changes to other grid properties etc. are picked up.

I am using Grid.DisplayLayout.SaveAsXml(path_, PropertyCategories.SortedColumns); and it is saving all that extra stuff as well.  I tried the other PropertyCategories and they don't seem to save what I want either.

Is there a setting I can pass in to save JUST the UltraGridColumns?

thanks. 

Parents Reply Children
No Data