SubTotal Theme Issue

2 posts, 0 answers
  1. Jacky
    Jacky avatar
    23 posts
    Member since:
    Mar 2014

    Posted 06 Jul 2014 Link to this post

    the grid is shown as collapsed,  after Expand all,  the theme is not correct on DataCell and SubTotal Cell.

    reproduce steps:
    1. set text is bold on SubTotal Cell ,  reference Step1.jpg
    2. set AutoExpandColumnHeaders = False   .AutoExpandRowHeaders = False
    3. bind data
    4. Expand All,   a part of text is bold on datacell,  see step2.jpg

    what is wrong?
  2. George
    George avatar
    500 posts

    Posted 10 Jul 2014 Link to this post

    Hello Jacky,

    Thank you for writing.

    I can confirm this issue with RadPivotGrid. I have logged it in our Feedback Portal. You can find the item here: UI for Winforms Feedback Portal - FIX. RadPivotGrid - Setting a Bold font in theme to PivotCellElement.GrandTotalRow shows bold text when not needed. As a workaround you can use CellFormatting:
    Font font;
    void pivot_CellFormatting(object sender, PivotCellEventArgs e)
        if (e.CellElement.IsInGrandTotalRow)
            if (font == null)
                font = new Font(e.CellElement.Font.FontFamily, e.CellElement.Font.Size, FontStyle.Bold);
            e.CellElement.Font = font;
            e.CellElement.ResetValue(VisualElement.FontProperty, ValueResetFlags.Local);

    I have also updated your Telerik Points for this report.

    Let me know, should you have further questions.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
  3. DevCraft R3 2016 release webinar banner
Back to Top