DataGridViewSummaryRow
Last updated
Was this helpful?
Last updated
Was this helpful?
Adds a new method to the DataGridView to automatically generate subtotal and summary rows using several different aggregation models.
This extension is not needed anymore for Wisej 2.5+ as its functionality has been fully integrated into the core Wisej Framework.
To add the values in colSales, grouped by the columns from colRegion to colCountry.
Call multiple times to aggregate different columns. It will add the subtotal to the same summary row that matches the group. You can create multiple parent summaries using .
The method returns an array of rows that you can post process. You can also either pass a DataGridViewCellStyle to the method or assign it directly to the newly added rows.