PowerTools SPREAD for ASP.NET 8.0J
Aggregate イベント (FpSpread)

データモデルが集計するときに発生します。
構文
'Declaration
 
Public Event Aggregate As AggregateEventHandler
public event AggregateEventHandler Aggregate
次のサンプルコードは、列と集計タイプを返します。
protected void FpSpread1_Aggregate(object sender, FarPoint.Web.Spread.Model.AggregateArgs e) 
{
    string msg = ("The column with the aggregate is " + (e.Column + (" and the aggregate type is " + e.AggregationType)));
    Response.Write("<script language='javascript'>alert('" + msg + "')</script>");
}
Protected Sub FpSpread1_Aggregate(ByVal sender As Object, ByVal e As FarPoint.Web.Spread.Model.AggregateArgs) Handles FpSpread1.Aggregate
    Dim msg As String = "The column with the aggregate is " & e.Column & " and the aggregate type is " & e.AggregationType
    Response.Write("<script language='javascript'>alert('" & msg & "')</script>")
End Sub
参照

FpSpread クラス
FpSpread メンバ

 

 


© 2003-2015, GrapeCity inc. All rights reserved.