# SummaryType

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

Determines the aggregation result to display in the [DataGridViewSummaryRow](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewsummaryrow).

{% tabs %}
{% tab title="C#" %}

```csharp
public enum SummaryType : Enum
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Enum SummaryType As [Enum]
```

{% endtab %}
{% endtabs %}

## Fields

| Name        | Description                                                                                                  |
| ----------- | ------------------------------------------------------------------------------------------------------------ |
| **Average** | Calculates the average value of the non-empty cells in the group.                                            |
| **Count**   | Counts the non-empty cells in the group.                                                                     |
| **Custom**  | Uses a custom function to calculate the summary result.                                                      |
| **Max**     | Calculates the maximum value in the group.                                                                   |
| **Min**     | Calculates the minimum value in the group.                                                                   |
| **None**    | The summary row is created without any aggregation result. Can be used to automatically group and nest rows. |
| **Std**     | Calculates the standard deviation of the values in the group.                                                |
| **Sum**     | Adds the values in the group.                                                                                |

## Used By

| Name                                                                                                                                                                   | Description                                                                                                                                                                                                   |
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [DataGridView.AddSummaryRows](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/..#addsummaryrows-summarytype-groupcol-summarycol-style-customsummary) | Creates or updates a [DataGridViewSummaryRow](https://docs.wisej.com/api/wisej.web/lists-and-grids/datagridview/wisej.web.datagridviewsummaryrow) for each group limited by the values in column *groupCol* . |
