Free Trial Buy Now

Data Summary - Manual Summary Calculation

  DepartmentLocationBudget
[Collapse] Corporate HeadquartersMonterey$1,000,000.00
 [Collapse] Sales and MarketingSan Francisco$22,000.00
    Field Office: CanadaToronto$500,000.00
    Field Office: East CoastBoston$500,000.00
  [Collapse] Pacific Rim HeadquartersKuaui$600,000.00
     Field Office: SingaporeSingapore$300,000.00
     Field Office: JapanTokyo$500,000.00
      Selected:$0.00
    MarketingSan Francisco$1,500,000.00
     Selected:$0.00
   FinanceMonterey$40,000.00
 [Collapse] EngineeringMonterey$1,100,000.00
  [Collapse] Consumer Electronics Div.Burlington, VT$1,150,000.00
     Software DevelopmentMonterey$40,000.00
      Selected:$0.00
  [Collapse] Software Products Div.Monterey$1,200,000.00
     Quality AssuranceMonterey$48,000.00
     Customer SupportMonterey$38,000.00
     Research and DevelopmentBurlington, VT$460,000.00
     Customer ServicesBurlington, VT$850,000.00
      Selected:$0.00
     Selected:$0.00
    Selected:$0.00
   SELECTED:$0.00

Description

The ASPxTreeList enables you to manually implement custom aggregate functions or calculate summary values using a custom algorithm. Custom summaries allow you the following:

  • Calculate summaries against nodes that meet specific criteria
  • Involve multiple data fields in calculations
  • Implement complex summary functions

To manually calculate summaries, you should set the summary item's SummaryType property to Custom and handle the CustomSummaryCalculate event.

In this demo, we sum the budget of selected departments.

To learn more, please see the ASPxTreeList's help documentation.

Version: v2011 vol 2.11
Experience the DevExpress Difference Today
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.