C1.Win.C1FlexGrid Namespace > C1FlexGridBase Class : BeforeSubtotal Event |
'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
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.
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