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
250
saveasxml extensibility
posted

I have a grid which we will add new columns to over time.  I would like to use saveasxml and loadfromxml to preserve some basic user grid settings, such as the state of filters, column widths and positions and which columns are sorted and or hidden.

However, I have found that if I modify the datasource and add a new column, then when I loadfromlayout, certain settings of the new column; such as the position and column title get screwed up.

Is there any way around this, or any recommended practices for using saveasxml and anticipating future extensions to a grid.  Or am I better off just preserving settings myself in some other mechanism.

Thanks