4 Answers, 1 is accepted
0
Hello Gisela,
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.
Regards,
Rosen Vladimirov
Telerik
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.
Regards,
Rosen Vladimirov
Telerik
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).
0
gisela
Top achievements
Rank 1
answered on 18 Feb 2014, 08:23 AM
Hallo Rosen,
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?
Regards,
Gisela
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?
Regards,
Gisela
0
Hi Gisela,
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.
Regards,
Rosen Vladimirov
Telerik
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.
Regards,
Rosen Vladimirov
Telerik
0
gisela
Top achievements
Rank 1
answered on 20 Feb 2014, 08:21 AM
Thanks for your answer.
Gisela
Gisela