AggregateFunctions with drag column

2 posts, 0 answers
  1. Jimmy
    Jimmy avatar
    7 posts
    Member since:
    Apr 2016

    Posted 06 May 2016 Link to this post

    i am using RadGridView to display data. in the UI design, I also apply AggregateFunctions for some columns (see below). But when I drag one column for grouping, the Aggregate result also show in the grid which looked not good. Any way to prevent when I manually drag columns for grouping?

                            <telerik:SumFunction ResultFormatString="{}{0:N4}"/>

  2. Yoan
    Yoan avatar
    1128 posts

    Posted 09 May 2016 Link to this post

    Hi Jimmy,

    You can achieve the desired behavior by using the following style:
    <Style TargetType="telerik:GridViewGroupRow">
                <Setter Property="ShowHeaderAggregates" Value="False"></Setter>

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top