DevExpress Create Group Summary

Posted On // Leave a Comment
From DevExpress

' Make the group footers always visible.
Private gridView1.GroupFooterShowMode = GroupFooterShowMode.VisibleAlways

Dim item1 As GridGroupSummaryItem = New GridGroupSummaryItem()
item1.FieldName = "Gross"
item1.SummaryType = DevExpress.Data.SummaryItemType.Sum
item1.DisplayFormat = "{0:n0}"
item1.ShowInGroupColumnFooter = gridPembelianAdvBandedView.Columns(17)
gridPembelianAdvBandedView.GroupSummary.Add(item1)

sumber : http://www.devexpress.com

0 komentar: