3.3.3.4 <statistic> Control

Displays a single numeric/statistical value (e.g., counts, sums).

<statistic
    name="totalProducts"
    dataset="productDataset"
    valueField="totalProducts"
    width="1/3"
>
    <label>Total Products</label>
</statistic>
  • name: Required. Unique control name.

  • dataset: Required. The <dataset> (by name) used as a data source.

  • valueField: Required. Which field from the dataset’s data to display.

  • width: Optional. A hint for the UI width - 1/1, 1/2, 1/3, 1/4.

  • <label>: Required. A friendly label to display near the statistic.

Last updated