Hi Fabian,
You are correct that it does not save the views to a file, it stores them in memory which means they won't persist after the application is closed.
It is possible to implement this behavior using the example you linked. All the example is doing is storing a string in a list for the rows, columns, filters and measures. The string is just the name of these so what you can do is after the pivot grid is saved, you can write the data in the lists to a stream and save that out as file. During the load you would read in the file first and place the data into the appropriate lists then call the method that is responsible for updating the view based on those lists.
Hi Rob,
Thanks for responding. Would you be able to post an example that creates such file to store the xampivotgrid views?
BTW, what was the intention for saving the views to memory and not to persist them into a file?
Fabian Zandomeni