RadPivotFieldList Custom Name

5 posts, 0 answers
  1. gisela
    gisela avatar
    15 posts
    Member since:
    Feb 2006

    Posted 13 Feb 2014 Link to this post

    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
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 18 Feb 2014 Link to this post

    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).

  3. DevCraft banner
  4. gisela
    gisela avatar
    15 posts
    Member since:
    Feb 2006

    Posted 18 Feb 2014 in reply to Rosen Vladimirov Link to this post

    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

  5. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 20 Feb 2014 Link to this post

    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
  6. gisela
    gisela avatar
    15 posts
    Member since:
    Feb 2006

    Posted 20 Feb 2014 in reply to Rosen Vladimirov Link to this post

    Thanks for your answer.

    Gisela

Back to Top
DevCraft banner