4 Answers, 1 is accepted
It is not supported to change the properties names at runtime. Even if you succeed changing property's name, you'll have to set DataProvider's ItemsSource to null and then reapply the new collection, so RadPivotGrid and RadPivotFieldList will get the new values.
RadPivotGrid and RadPivotFieldList expect that your DataItem's property names will not be changed at runtime.
Hope this helps.
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).
thank you for your answer.
I understand your answer, but i don't understand, why has the RadPivotGrid a CustomName Property and the RadPivotFieldList not?
CustomName property is set on Group/Aggregate descriptions of the DataProvider, not on RadPivotGrid or RadPivotFieldList. The idea of Custom Name is to modify the name of description itself, not modifying the property that is used for this description. The upper part of RadPivotFieldList is showing the properties directly from the source (the data item that is used), and that's why the CustomName is not applied there - these are just properties of the data item, not group descriptions.
Hopefully this makes sense. Feel free to contact us in case you have any other problems or concerns.