Change Field Caption

3 posts, 0 answers
  1. Stephan
    Stephan avatar
    12 posts
    Member since:
    Jun 2011

    Posted 03 Aug Link to this post


    i would like to change the Field Displayname of Properties used in the Pivot-Fieldlist.

    I tryed to use the AddingContainerNode Event from LocalDataSourceFieldDescriptionsProvider, but it's only possible to change the

    display name like

        (e.ContainerInfo as PropertyInfoFieldInfo).DisplayName = "Test"

    This works for the aggregate list, but in List of fields there is always the name of property visible.

    I tryed to change also the caption of ContainerNode but there is no Setter implemented.

        e.ContainerNode.Caption ="Test";  //it's not possible, but ist seems to be there right way 

    Is there another way to Change the Caption.

    Thanks for help.

    Best regards


  2. Polya
    Polya avatar
    190 posts

    Posted 05 Aug Link to this post

    Hello Stephan,

    If you are using LocalDataSourceProvider, in order to change the name used in the RadPivotFieldList for a specific field you can use the Display attribute for this field as explained in this help article:

    Please give it a try and let us know if it works for you.

    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft R3 2016 release webinar banner
  4. Stephan
    Stephan avatar
    12 posts
    Member since:
    Jun 2011

    Posted 08 Aug in reply to Polya Link to this post


    yes it works. thanks for help.



Back to Top