Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
190
Summary Operands Asp.Net MVC Helper (.net core)
posted

Hi There,

I'm using the Summary feature of the grid, but i just want to display the Sum operand, not all of the values.

How can i go about doing this? IT's a basic sum operation on the grid fields. Can i override the summary displays to include just the Sum total?

Here's the code snipped in cshtml

features.Summaries().Type(OpType.Local).ColumnSettings(settings =>
{
settings.ColumnSetting().ColumnIndex(0).AllowSummaries(false);

});

Parents
No Data
Reply
  • 0
    Offline posted

    This method for customizing grid summaries in ASP.NET MVC is great for scenarios where clean output is required, especially in dashboards or billing systems. I've also worked on similar features while building tools to help users check their utility data. You can check it online here, it might give you some practical ideas for displaying summary values efficiently.

Children
No Data