Name | Value | Description | |||
exText | 0 | Standard text. No HTML tags are displayed | |||
exHTML | 1 |
The control uses built-in HTML tags to display the caption using HTML format.
The control supports the following HTML tags:
| |||
exComputedField | 2 |
Indicates a computed field. The CellValue
property indicates the
formula to compute the field. A computed field can display its content using the
values from any other cell in the same item/row. For instance %1 + %2 indicates
that the cell displays the addition from the second and third cells in the same
item ( cells are 0 based ). For instance, if the cells are of numeric format the
result is the sum of two values, while if any of the cell is of string type it performs
a concatenation of the specified cells. The ComputedField property indicates the
formula to compute all cells in the column. The exComputedField can be combined
with exText or exHTML. For instance, the
exComputedField +
exHTML indicates that the computed field may display HTML tags.
The syntax for the CellValue property should be: formula where %n indicates the cell from the n-index. The operation being supported are listed bellow. For instance %1 + %2 indicates the sum of all cells in the second and third column from the current item. | |||
exTotalField | 4 |
Indicates a total/subtotal field. The CellValue
property indicates the
formula for total field that includes an aggregate function such as: sum, min,
max, count, avg. The exTotalField can be combined
with exText or exHTML. For instance, the exTotalField +
exHTML indicates that the total field may display HTML tags.
The syntax for the CellValue property should be: aggregate(list,direction,formula) where: aggregate must be one of the following:
list must be one of the following:
direction must be one of the following:
Currently, the following items are excluded by aggregate functions:
In conclusion, aggregate functions counts ONLY items that are:
Shortly, by setting to a different value to any of these properties, makes the item to be ignored by the aggregate functions. For instance
|
The formula on the CellValue property ( if the CellValueFormat property indicates the exComputedField or exTotalField ) may include the formatting operators as follows:
The expression supports cell's identifiers as follows:
This property/method supports predefined constants and operators/functions as described here.
Usage examples: