This is a migrated thread and some comments may be shown as answers.

RadPivotFieldList Custom Name

4 Answers 16 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
gisela
Top achievements
Rank 1
gisela asked on 13 Feb 2014, 10:04 AM
Hi Telerik Team,

is there a possibility for changing the Name in the RadPivotFieldlist at runtime.
CustomName works only for RadPivotGrid and DataAnnotations can i not change at runtime.

Thnaks in advance
Gisela

4 Answers, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 18 Feb 2014, 07:19 AM
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

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

0
Rosen Vladimirov
Telerik team
answered on 20 Feb 2014, 07:21 AM
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
0
gisela
Top achievements
Rank 1
answered on 20 Feb 2014, 08:21 AM
Thanks for your answer.

Gisela

Tags
PivotGrid
Asked by
gisela
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
gisela
Top achievements
Rank 1
Share this question
or