Occurs when the data model aggregate.
Syntax
Example
This example returns the column and aggregate type.
C# | Copy Code |
---|
protected void FpSpread1Aggregate(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>")
}
|
Visual Basic | Copy Code |
---|
Protected Sub FpSpread1Aggregate(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 |
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also