Hi
I would like to display records in a grid in a group.
There are 3 columns.
Driver Name, Gross Pay and Net Pay
I would like to show summary for each group of driver. The datasource has additional DriverID column will be used to group data.
Please note: I would like to show all data with summary at the end of the group.
Thanks in advance,
Bhavesh Sanghani
Hi Bhavesh,
To add a summary, use Summaries.Add method on the band.
To group the data, make sure the grid.DisplayLayout.ViewStyleBand is set to OutlookGroupBy. Then use the band.SortedColumns.Add method to group by the DriverID column.