Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / Grouping Event
Example


In This Topic
    Grouping Event
    In This Topic
    Occurs when the user is grouping.
    Syntax
    'Declaration
     
    
    Public Event Grouping As GroupingEventHandler
    'Usage
     
    
    Dim instance As FpSpread
    Dim handler As GroupingEventHandler
     
    AddHandler instance.Grouping, handler
    public event GroupingEventHandler Grouping
    Event Data

    The event handler receives an argument of type GroupingEventArgs containing data related to this event. The following GroupingEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets whether to cancel the grouping.  
    Gets or sets the group comparer.  
    Gets the sorting information.  
    Remarks

    The GroupingEventHandler receives an argument of type GroupingEventArgs containing data related to this event. This event also fires when the user ungroups the last group.

    Example
    This example uses the Grouping event.
    See Also