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); });
To display only the Sum operand in the grid summary and exclude other values, you can override the display settings in the grid configuration. The following snippet should help you modify the summary settings to show just the sum:
AllowSummaries(false)
Sum
ColumnSettings
For HESCO bill https://www.hescoebill.pk/, if you're summarizing bill amounts from multiple users, the same concept could apply where only the total sum of all bills is displayed without listing each individual bill amount.