Spread for ASP.NET 7.0 Product Documentation
Ungrouped Event
See Also  Example Support Options
FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class : Ungrouped Event


Glossary Item Box

Occurs when the user is done grouping.

Syntax

Visual Basic (Declaration) 
Public Event Ungrouped As EventHandler
Visual Basic (Usage)Copy Code
Dim instance As FpSpread
Dim handler As EventHandler
 
AddHandler instance.Ungrouped, handler
C# 
public event EventHandler Ungrouped

Example

This example uses the Ungrouped event.
C#Copy Code
protected void Page_Load(object sender, EventArgs e)
        {
            if (this.IsPostBack) return;
            FpSpread1.ActiveSheetView.AllowColumnMove = true;
            FpSpread1.ActiveSheetView.GroupBarVisible = true;
            FpSpread1.ActiveSheetView.AllowGroup = true;            
        }

protected void FpSpread1_Ungrouped(object sender, EventArgs e)
        {
            FpSpread1.ActiveSheetView.Cells[2,2].Text = "Ungrouped";
        }

VB.NETCopy Code
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        FpSpread1.ActiveSheetView.AllowColumnMove = True
        FpSpread1.ActiveSheetView.GroupBarVisible = True
        FpSpread1.ActiveSheetView.AllowGroup = True
    End Sub

    
    Protected Sub FpSpread1_Ungrouped(sender As Object, e As EventArgs) Handles FpSpread1.Ungrouped
        FpSpread1.ActiveSheetView.Cells(2,2).Text = "Ungrouped"
    End Sub

Requirements

Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.