DataGridViewSummaryRowExtensions

Wisej.Web.Ext.DataGridViewSummaryRow.DataGridViewSummaryRowExtensions

Namespace: Wisej.Web.Ext.DataGridViewSummaryRow

Assembly: Wisej.Web.Ext.DataGridViewSummaryRow (1.0.0.0)

Adds summary methods to the DataGridView control.

public class DataGridViewSummaryRowExtensions

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Methods

Creates or updates a DataGridViewSummaryRow for each group limited by the values in column groupCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

groupCol

Name of the column that determines the group break values.

summaryCol

name of the column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in column groupCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

summaryPosition

Indicates the position of the DataGridViewSummaryRow.

groupCol

Name of the column that determines the group break values.

summaryCol

Name of the column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

groupFromCol

Name of the first column that determines the group break values.

groupToCol

Name of the last column that determines the group break values.

summaryCol

Name of the column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

summaryPosition

Indicates the position of the DataGridViewSummaryRow.

groupFromCol

Name of the first column that determines the group break values.

groupToCol

Name of the last column that determines the group break values.

summaryCol

Name of the column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in columns groupCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

groupCol

Column that determines the group break values.

summaryCol

Column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in columns groupCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

summaryPosition

Indicates the position of the DataGridViewSummaryRow.

groupCol

Column that determines the group break values.

summaryCol

Column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

groupFromCol

First column that determines the group break values.

groupToCol

Last column that determines the group break values.

summaryCol

Column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Creates or updates a DataGridViewSummaryRow for each group limited by the values in the columns from groupFromCol to groupToCol .

Parameter

Type

Description

grid

Extension class.

summaryType

Determines the aggregation type.

summaryPosition

Indicates the position of the DataGridViewSummaryRow.

groupFromCol

First column that determines the group break values.

groupToCol

Last column that determines the group break values.

summaryCol

Column to aggregate.

style

Optional DataGridViewCellStyle for the summary rows.

Returns: DataGridViewSummaryRow[]. Array of the DataGridViewSummaryRow rows displaying the aggregated values.

Removes the all the summary rows.

Parameter

Type

Description

grid

Target DataGridView.

Removes the summary rows that match the specified summaryPosition .

Parameter

Type

Description

grid

Target DataGridView.

summaryPosition

Position of the summary rows to remove.

Removes the summary rows grouped by groupFromCol .

Parameter

Type

Description

grid

Target DataGridView.

groupFromCol

Name of the first column that determnines the group break values.

Removes the summary rows grouped by groupFromCol and groupToCol .

Parameter

Type

Description

grid

Target DataGridView.

groupFromCol

Name of the first column that determnines the group break values.

groupToCol

Name of the last column that determines the group break values.

Removes the summary rows grouped by groupFromCol .

Parameter

Type

Description

grid

Target DataGridView.

groupFromCol

First column that determnines the group break values.

Removes the summary rows grouped by groupFromCol and groupToCol .

Parameter

Type

Description

grid

Target DataGridView.

groupFromCol

First column that determnines the group break values.

groupToCol

Last column that determines the group break values.

Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol .

Parameter

Type

Description

grid

Target DataGridView.

summaryPosition

Position of the summary rows to remove.

groupFromCol

Name of the first column that determnines the group break values.

Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .

Parameter

Type

Description

grid

Target DataGridView.

summaryPosition

Position of the summary rows to remove.

groupFromCol

Name of the first column that determnines the group break values.

groupToCol

Name of the last column that determines the group break values.

Removes the summary rows that match the specified summaryPosition and grouped by groupFromCol and groupToCol .

Parameter

Type

Description

grid

Target DataGridView.

summaryPosition

Position of the summary rows to remove.

groupFromCol

First column that determnines the group break values.

groupToCol

Last column that determines the group break values.

Last updated