Hi,
I do add summeries to the grid but later on i would like to remove them. how can i do that?
If Me.gridInvoice1.DisplayLayout.Bands(0).Summaries.Count = 0 Then
Me.gridInvoice1.DisplayLayout.Bands(0).Columns("Quantity"), SummaryPosition.UseSummaryPositionColumn)
Me.gridInvoice1.DisplayLayout.Bands(0).Columns("Amount"), SummaryPosition.UseSummaryPositionColumn)
Me.gridInvoice1.DisplayLayout.Bands(0).Columns("Vat"), SummaryPosition.UseSummaryPositionColumn)
End If
Thanks,
Kamal
Kamal,
Have you tried the Clear method on the Summaries collection off of the band?
-Matt