Blazor Pivot Table Example - External Binding
This sample demonstrates rendering heatmap component by providing desired data from a pivot table on selection. Not only heatmap, but any other component (including third party) can be used for this purpose.
Grand Total |
|---|
Grand Total | No records to display |
In this sample, the cell selection is enabled using the AllowSelection property set to true and its Type and Mode are configured using the PivotViewSelectionSettings. The CellSelected event gets fired on every selection operation performed in the pivot table. This event returns the selected cell information, like row header name, column header name, measure name, and value. Based on this information, the heatmap will be plotted.
More information on the selection can be found in this documentation section.