property Pivot.PivotColumns as String
Specifies the list of columns to be displayed in the list.

TypeDescription
String A String expression that indicates the list of data columns that shows the summarized data. For instance, the "sum(5),sum(5)/12" display the SUM for the column with the index 5, and adds a new column for each value found in the column with the index 12, by displaying the SUM of column with the index 5.
The PivotColumns property specifies the list of columns that display the summarized data in the pivot table. The PivotRows property specifies the list of columns that defines the rows of the pivot table. The DisplayPivotFields property specifies the number of maximum columns to be added during the execution of the current layout. Use the Layout property to save or restore the control's view once the user closes/runs the application. The Aggregates collection holds a collection of Aggregate functions the user can display to summarize the data. Use the FormatPivotAggregate / FormatPivotTotal property to display aggregate functions in a different format. The FormatConditionalAppearances helps you to provide conditional-format for your data, or in other words, ability to highlight values that matches a specified expression. 

For example, if PivotRows is empty and PivotColumns is set to "sum(5)/12", the result will display a single row and a column for each unique value in column 12. The row will show the sum of values from column 5, corresponding to each unique value in column 12. The Description(exColumnEmptyPivotRows) and Description(exRowEmptyPivotRows) properties define the column and row captions when no pivot rows have been specified. When no pivot rows are defined, the pivot columns specify the aggregate functions to be applied to the entire data set (without pivot row grouping). By default, Description(exColumnEmptyPivotRows) is an empty string (""), and Description(exRowEmptyPivotRows) is set to "Total".

For instance:

The PivotColumns in BNF notation is:

PivotColumns ::= "<Aggregate>[,<Aggregate>]"
Aggregate ::= <AggregateKey>(<Index>)[<Options>] | <AggregateKey>(<Index>)[<Options>]/<Index>[:<Order>][<Options>][;<Index>[:<Order>][<Options>]]
Index ::= <Digit>[<Digit>]
Digit ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Order ::= A | D
Options ::= \[<Option> | ,<Option>\]
Option ::= <CheckOption> | content=<RadioOption>

where

The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[bold,content=numeric]":

The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[content=numeric]/12":

The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[content=numeric]/12;6":

 

The following screen shot shows how the columns in the control's list, may look like if the PivotColumns property is "sum(5)[bold,content=numeric],sum(5)[content=numeric]/12;6":

The control can load data using one of the following methods:

Once the data is loaded to the control, the user can drag and drop columns to summarize the data or set the following properties in the following order: