MESCIUS SPREAD for ASP.NET 10.0J
Ungrouped イベント

ユーザーがグループ化を行った後に発生します。
構文
'Declaration
 
Public Event Ungrouped As EventHandler
public event EventHandler Ungrouped
次のサンプルコードは、Ungroupedイベントを使用します。
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";
}

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
参照

FpSpread クラス
FpSpread メンバ

 

 


© MESCIUS inc. All rights reserved.