Dynamically change palette elements


I have a requirement to change the palette elements at Runtime. According to an information that user sets, the palette element will get updated
Using the custom palette provider gave us the possibility to customize the elements but to change the element at runtime we need whether to reload the provider which will reload the whole page. Any other option ? event that we can use to do that ?


see: How to dynamically update the palette - #2 by Chaomin_Ruan