This example shows how to use string concatenation to aggregate data in client mode.
- Form1.cs (VB: Form1.vb)
- StringConcatFunction.cs (VB: StringConcatFunction.vb)
- Program.cs (VB: Program.vb)
In this example, the Grid dashboard item displays СontactName values concatenated by country.
The following expression uses string concatenation to aggregate data for СontactName values:
Calculated Field | Expression |
---|---|
Contact names by countries | StringConcat([ContactName]) |
Call the CriteriaOperator.RegisterCustomFunction method to register a custom function in your project (see Program.cs/Program.vb).
- Expression Constants, Operators, and Functions
- Grouping
- ICustomFunctionOperatorBrowsable
- ICustomFunctionOperatorFormattable
- Dashboard for WinForms - How to Calculate the Numeric Group Interval
- Dashboard for WinForms - How to Calculate Fiscal Functions from Date-Time Data Fields
- Dashboard for WinForms - How to Aggregate Data by the Field's First Value
(you will be redirected to DevExpress.com to submit your response)