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
570
how to clear customizations
posted

I have a DataTable bound to a xamdatagrid in the xaml and a picker that lets them select an item and its associated datatable to configure. There is a field chooser and they can use it to set up a customization (including visibility) and I am saving that as a string with the setup to use later on.

I am using it to save different customization strings for different views for reports based off of the same base table. I show them just a sample of 100 records.

How can I refresh the datatable on my bound xaml when they refresh the  table to setup a new customization from the picker.   clearcustomizations doesn't seem to do it.

I tried setting the datasource to null before picking up the table again.

The new pick and bind displays with the visibility set to the previous view of the table they had setup the customization for.