Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
110
Show summary in grid for a group.
posted

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

  • 469350
    Offline posted

    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.