Class PivotViewTemplates
Configures pivot component templates.
Inherited Members
Namespace: Syncfusion.Blazor.PivotView
Assembly: Syncfusion.Blazor.dll
Syntax
public class PivotViewTemplates : SfDataBoundComponent
Constructors
PivotViewTemplates()
Declaration
public PivotViewTemplates()
Properties
CellTemplate
Render custom template for pivot cell. It renders along with the value text.
Declaration
public RenderFragment<object> CellTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
Remarks
The parameters passed to the templates can be accessed using implicit parameter named context
.
SpinnerTemplate
Allows the appearance of the loading indicator to be customized with HTML that can be used to displayed with custom formats in the pivot table.
Declaration
public RenderFragment<object> SpinnerTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
Remarks
The parameters passed to the templates can be accessed using implicit parameter named context
.
ToolbarTemplate
Render custom toolbar using ToolbarTemplate property. It replaces the in-built toolbar and click actions must be handled in custom toolbar itself.
Declaration
public RenderFragment<object> ToolbarTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<System.Object> |
Remarks
The parameters passed to the templates can be accessed using implicit parameter named context
.
TooltipTemplate
Render custom template for pivot table tooltip displayed with custom formats either by mouse hovering or by touch in the pivot table.
Declaration
public RenderFragment<PivotTooltipTemplateContext> TooltipTemplate { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.RenderFragment<PivotTooltipTemplateContext> |
Remarks
The parameters passed to the templates can be accessed using implicit parameter named context
.
Methods
OnInitializedAsync()
Declaration
protected override Task OnInitializedAsync()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |