Blazor

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotViewTemplates - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotViewTemplates

    Configures pivot component templates.

    Inheritance
    System.Object
    Syncfusion.Blazor.SfBaseComponent
    SfDataBoundComponent
    PivotViewTemplates
    Inherited Members
    SfDataBoundComponent.SetDataManager<T>(Object)
    SfDataBoundComponent.OnParametersSetAsync()
    SfDataBoundComponent.OnAfterRenderAsync(Boolean)
    SfDataBoundComponent.DataManager
    SfDataBoundComponent.MainParent
    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
    Overrides
    SfDataBoundComponent.OnInitializedAsync()
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved