This example implements a custom grid control with the ShowGroupFooter
event. This event allows you to hide the group footer based on a specific condition:
private void gridViewOverride1_ShowGroupFooter(object sender, ShowGroupFooterEventArgs e) {
if ( e.FooterLevel == spinEdit1.Value && checkEdit1.Checked )
e.Visible = false;
}
- Form1.cs (VB: Form1.vb)
- MyGridControl.cs (VB: MyGridControl.vb)
- MyGridView.cs (VB: MyGridViewInfo.vb)
- ShowFooterEventArgs.cs (VB: ShowFooterEventArgs.vb)
- Data Summaries - WinForms Data Grid
- Working with Summaries in Code - Custom Summaries
- Tutorial: Group Summaries
(you will be redirected to DevExpress.com to submit your response)