hi,
i am trying to preserve the layout of an xamgrid after adding a property to the itemssource (adding a column).
so what i did was to save the layout, add the column (a property in the itemssource) then reloading the layout.
when i reload the layout, no columns are appearing in the grid.
is there a way to do it?
thanks
ok i figured it out.
instead of saving the layout of the grid, save the layouts of the columns in a dictionary. then after setting the new datasource and InvalidateData, go through the dictionary and load the columns layout.