FlexGrid for WinForms
BeforeSubtotal Event



Fires before each subtotal row is added to the grid.
Syntax
'Declaration
 
<C1DescriptionAttribute("Fires before a subtotal row is added to the grid.")>
Public Event BeforeSubtotal As SubtotalEventHandler
'Usage
 
Dim instance As C1FlexGridBase
Dim handler As SubtotalEventHandler
 
AddHandler instance.BeforeSubtotal, handler
[C1Description("Fires before a subtotal row is added to the grid.")]
public event SubtotalEventHandler BeforeSubtotal
[C1Description("Fires before a subtotal row is added to the grid.")]
public:
event SubtotalEventHandler^ BeforeSubtotal
Remarks

Subtotal rows are added when the Subtotal(AggregateEnum,Int32,Int32,Int32,Int32,String) method is invoked.

The event handler may prevent the grid from adding a particular row, or it may customize the caption, style, and aggregate value used in the new subtotal row.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

C1FlexGridBase Class
C1FlexGridBase Members

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Send Feedback