AggregateFunctions with drag column

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

    Posted 06 May 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
    1070 posts

    Posted 09 May 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.
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top