|
|
|
| Drop Column Fields Here |
| Grand Total |
| ProductSales | Percents |
Beverages | Chai | $12,176.10 | |
| Chang | $15,354.66 | |
| Chartreuse verte | $12,260.34 | |
| Côte de Blaye | $141,396.73 | |
| Guaraná Fantástica | $4,378.36 | |
| Ipoh Coffee | $22,119.10 | |
| Lakkalikööri | $15,729.84 | |
| Laughing Lumberjack Lager | $2,116.80 | |
| Outback Lager | $10,528.65 | |
| Rhönbräu Klosterbier | $8,146.48 | |
| Grand Total | $1,239,855.45 | |
|
  
 | Loading… |
|
|
|
|
This demo shows a share of sales per product and per category. This report contains absolute and percent values, and their graphical representation.
You can replace the content of pivot grid cells via templates, as described below:
- Create a class that implements the ITemplate interface.
- Create an instance of this class, and assign it to the ASPxPivotGrid.CellTemplate property.
The ASPxPivotGrid passes an PivotGridCellTemplateContainer object to the ITemplate.InstantiateIn method. The PivotGridCellTemplateContainer.Value and Text properties contain the current cell's value and display text, respectively.
When implementing the InstantiateIn method, you should create a web control that will be rendered instead of the cell's content. This control should be added to the PivotGridCellTemplateContainer.Controls collection.
To render a simple text, add a LiteralControl to the PivotGridCellTemplateContainer.Controls collection.
|
 | Loading… |
|
|
|
|